add shrinker rules to keep bouncycastle EC classes (#2542)
This commit is contained in:
parent
5abb82004a
commit
b2f2ca6c22
|
@ -82,6 +82,10 @@
|
||||||
-keepattributes SourceFile,LineNumberTable
|
-keepattributes SourceFile,LineNumberTable
|
||||||
-renamesourcefileattribute SourceFile
|
-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
# Bouncy Castle -- Keep EC
|
||||||
|
-keep class org.bouncycastle.jcajce.provider.asymmetric.EC$* { *; }
|
||||||
|
-keep class org.bouncycastle.jcajce.provider.asymmetric.ec.KeyPairGeneratorSpi$EC
|
||||||
|
|
||||||
# remove all logging from production apk
|
# remove all logging from production apk
|
||||||
-assumenosideeffects class android.util.Log {
|
-assumenosideeffects class android.util.Log {
|
||||||
public static *** getStackTraceString(...);
|
public static *** getStackTraceString(...);
|
||||||
|
|
Loading…
Reference in New Issue