Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This gradle version is not applicable #9

Open
XuNeverMore opened this issue Feb 17, 2022 · 8 comments
Open

This gradle version is not applicable #9

XuNeverMore opened this issue Feb 17, 2022 · 8 comments

Comments

@XuNeverMore
Copy link

classpath 'com.android.tools.build:gradle:4.0.1'
classpath "com.github.CodingGay:BlackObfuscator-ASPlugin:3.4"


distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip

log:


> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
=====BlackObfuscator=====
BlackObfuscatorExtension{enabled=true, depth=2, obfClass=[com.xi.quickgame, com.flamingo_inc], blackClass=[com.xi.quickgame.bean, com.xi.quickgame.gamemanager.dao]}
=========================
This gradle version is not applicable. Please submit issues in https://github.com/CodingGay/BlackObfuscator-ASPlugin

> Configure project :base_most
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

BUILD SUCCESSFUL in 13s

@nnjun
Copy link
Member

nnjun commented Feb 18, 2022

项目根目录运行 ./gradlew tasks --all 输出信息提交一下

@XuNeverMore
Copy link
Author

tasks.txt
@nnjun

@super-keys
Copy link

@nnjun 我的也是同样的问题. 如果是把插件放在主工程. 是没有问题的. . 放在自己的lib库里面编译成aar就不能混淆. 提示:This gradle version is not applicable
请问当前插件是否支持子工程混淆?

@nnjun
Copy link
Member

nnjun commented Feb 25, 2022

如果是这样的话,主工程会同时混淆子工程,如果单独混淆子工程的话好像暂时还没有适配。

@super-keys
Copy link

如果是,主工程会这样子工程的话,如果有的话也有类似子工程的话暂时没有能力。

那如何混淆aar包? 在主工程中又如何配置?

1 similar comment
@super-keys
Copy link

如果是,主工程会这样子工程的话,如果有的话也有类似子工程的话暂时没有能力。

那如何混淆aar包? 在主工程中又如何配置?

@nnjun
Copy link
Member

nnjun commented Mar 1, 2022

测试一下3.6的版本

@johnzieman
This comment was marked as a violation of GitHub Acceptable Use Policies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants