A fork of https://github.com/shwenzhang/AndResGuard, only bug fixs,no new features.
- only support gradle 7.0+
- sevenzip support osx aarch
- update sevenzip version to 21.07 (except windows)
- add new arch linux-arm_32/ linux-aarch_64
How to Use(refer origin repo,and modify as belows)
com.tencent.mm --> io.github.leon406
-
stable(mavenCentral): 1.2.21 --> 1.2.22.6
-
snapshot: 1.2.21 -->1.2.23.1-SNAPSHOT
add snapshots repo to your build.gradle
maven {
url "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}
-
无法进行混淆
AGP 4.2.+ 引入资源压缩, 但效果不如AndResGuard,两个同时启用无法正常使用,需要在 gradle.properties禁用
android.enableResourceOptimizations=false
测试AGP 4.2.2 AGP 7.0.4 可以正常使用
-
7zip无法运行
配置本地7zip文件路径
sevenzip { path = "xxxx/SevenZip-windows-x86_64.exe" }