BlackObfuscator-ASPlugin icon indicating copy to clipboard operation
BlackObfuscator-ASPlugin copied to clipboard

This gradle version is not applicable

Open XuNeverMore opened this issue 3 years ago • 8 comments

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

XuNeverMore avatar Feb 17 '22 07:02 XuNeverMore

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

nnjun avatar Feb 18 '22 04:02 nnjun

tasks.txt @nnjun

XuNeverMore avatar Feb 18 '22 04:02 XuNeverMore

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

super-keys avatar Feb 25 '22 03:02 super-keys

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

nnjun avatar Feb 25 '22 07:02 nnjun

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

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

super-keys avatar Feb 26 '22 14:02 super-keys

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

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

super-keys avatar Feb 26 '22 14:02 super-keys

测试一下3.6的版本

nnjun avatar Mar 01 '22 06:03 nnjun

please write in English I can't translate your fucking Chinese!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

johnzieman avatar Jun 16 '22 14:06 johnzieman