Skip to content
liujingxing edited this page Mar 24, 2023 · 25 revisions

更新日志

v1.1.3-beta3

2023-03-24

  • 兼容sourceSets下的res.srcDirsmanifest.srcFile 属性

v1.1.3-beta2

2023-03-02

  • 新增findAndConstraintReferencedIds熟悉,为true时,将会查找constraint_referenced_ids属性的值,添加到AndResGuard的白名单中,AndResGuard打包时自动执行

  • 修改:删除findConstraintReferencedIds属性,使用findAabConstraintReferencedIds属性替代,为true时,将会查找constraint_referenced_ids属性的值,添加到AabResGuard的白名单中,AabResGuard打包时自动执行

两个属性如下

xmlClassGuard {
    /*
     * 是否查找约束布局的constraint_referenced_ids属性的值,并添加到AabResGuard的白名单中,
     * 是的话,要求你在XmlClassGuard前依赖AndResGuard插件,默认false
     */
    findAabConstraintReferencedIds = false

    /*
     * 是否查找约束布局的constraint_referenced_ids属性的值,并添加到AndResGuard的白名单中,
     * 是的话,要求你在XmlClassGuard前依赖AabResGuard插件,默认false
     */
    findAndConstraintReferencedIds = false
}

v1.1.3-beta1

2023-02-17

  • 修复PR提到的几个问题

  • 兼容AGP 4.2.0以下版本BaseExtension.getNamespace()方法找不到问题 #28

v1.1.2

2022-11-14

  • kotlin升级至1.7.10

  • packageChange任务支持读取build.gradlenamespace属性

v1.1.1

2022-08-07

  • 修复moveDir任务,会更改databinding相关类路径问题

v1.1.0

2022-07-07

  • 更改:moveDir任务支持移动子module目录

  • 更改:packageChange任务支持更改子module包名

  • 修复:更新包名混淆算法,通过自增长替换哈希算法,避免包名与kotlin/java关键字重名问题

v1.0.3

2022-05-27

  • 内部不直接依赖aabresguradfindConstraintReferencedIds属性设置为true后,需要你手动依赖aabresgurad

v1.0.2

2022-05-25

  • 修复windows环境下包路径不匹配导致 package语句没有替换问题

v1.0.1

2022-04-05

  • 新增findConstraintReferencedIds任务,该任务需要配合AabResGuard插件使用,可将约束布局constraint_referenced_ids属性的值,自动添加进AabResGuard的白名单中

  • 兼容 gradle 7.0 以下版本

  • 类混淆后,加强文本替换逻辑,以降低误杀率

v1.0.0

2022-03-27

  • XmlClassGuard一个可混淆任意类的gradle插件,上架Google Paly的杀手锏利器
Clone this wiki locally