Better Proguard optimization

This commit is contained in:
topjohnwu 2018-12-02 04:56:13 -05:00
parent 0241a50c6f
commit f401e577e5

View File

@ -17,9 +17,9 @@
#} #}
# BouncyCastle # BouncyCastle
-keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.**SHA1** { *; } -keep,allowoptimization class org.bouncycastle.jcajce.provider.asymmetric.rsa.**SHA1** { *; }
-keep class org.bouncycastle.jcajce.provider.asymmetric.RSA** { *; } -keep,allowoptimization class org.bouncycastle.jcajce.provider.asymmetric.RSA** { *; }
-keep class org.bouncycastle.jcajce.provider.digest.SHA1** { *; } -keep,allowoptimization class org.bouncycastle.jcajce.provider.digest.SHA1** { *; }
-dontwarn javax.naming.** -dontwarn javax.naming.**
# Snet extention # Snet extention
@ -36,3 +36,4 @@
# Excessive obfuscation # Excessive obfuscation
-repackageclasses 'a' -repackageclasses 'a'
-allowaccessmodification -allowaccessmodification
-optimizationpasses 6