bytedance / AabResGuard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)
Apache License 2.0
1.32k stars 182 forks source link

Add compatibility with AGP 4.0.1 and 4.0.2 and optimize some code #39

Open yuruiyin opened 3 years ago

yuruiyin commented 3 years ago

In order to get signingConfig

And we don't need getBuildTypes, so we can remove getBuildTypesForAGPBefore4008() and getBuildTypesForAGP4009().

And I have verified in AGP3.5.0 ,AGP 4.0.0, AGP4.0.1, AGP4.0.2.