We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
作者你好,这里在使用中发现插件是在 project.afterEvaluate 进行处理
project.afterEvaluate
希望能够在执行期间再进行配置,这是方便针对 release 和 debug 开动态开启 BlackObfuscator.enable
release
debug
BlackObfuscator.enable
或有其他方式还请告知 thanks for your work :)
The text was updated successfully, but these errors were encountered:
在app的gradle中增加如下方法,当使用assembleRelease才会进行开启
boolean isReleaseBuildType() { for(String s : gradle.startParameter.taskNames) { s = s.toLowerCase() if (s.contains("release")) { return true } } return false } BlackObfuscator { enabled isReleaseBuildType() depth 2 obfClass = ["com.xxx"] }
Sorry, something went wrong.
No branches or pull requests
作者你好,这里在使用中发现插件是在
project.afterEvaluate
进行处理希望能够在执行期间再进行配置,这是方便针对
release
和debug
开动态开启BlackObfuscator.enable
或有其他方式还请告知 thanks for your work :)
The text was updated successfully, but these errors were encountered: