allenymt / PrivacySentry

Android隐私合规整改检测工具,注解+Asm修改字节码的检测方案
MIT License
2.05k stars 262 forks source link

有没有办法可以配置debug运行的时候此库不参与编译 #55

Closed J1aDong closed 2 years ago

J1aDong commented 2 years ago

debug运行的时候每次修改代码重新运行起来都好久,或者有什么其他的办法提高debug模式下的重新运行的速度

allenymt commented 2 years ago

if (project.ext.openPrivacy) { apply plugin: 'privacy-sentry-plugin' privacy { blackList = [] } }

自己加个开关判断下,openPrivacy 根据模式是否开启

J1aDong commented 2 years ago

Thx

allenymt commented 1 year ago

1.2.2