proguard bug fix

This commit is contained in:
nuclearfog 2021-12-11 21:20:56 +01:00
parent e3d26960dd
commit 8f1474ffa8
No known key found for this signature in database
GPG Key ID: AA0271FBE406DB98
2 changed files with 7 additions and 9 deletions

View File

@ -25,7 +25,7 @@ android {
multiDexEnabled false
minifyEnabled true
shrinkResources true
proguardFiles 'proguard-rules.pro'
proguardFile 'proguard-rules.pro'
}
debug {
minifyEnabled false

View File

@ -1,8 +1,11 @@
-repackageclasses org.nuclearfog.twidda
# use dictionaries to create random class/package names
-obfuscationdictionary dict/obfuscation-dictionary.txt
-classobfuscationdictionary dict/class-dictionary.txt
-packageobfuscationdictionary dict/package-dictionary.txt
# keep these libraries but allow obfuscating
-dontwarn twitter4j.**
-keep,allowobfuscation class twitter4j.** {*;}
-keep,allowobfuscation,allowoptimization class twitter4j.** {*;}
-adaptclassstrings twitter4j.**
-dontwarn javax.management.DynamicMBean
@ -17,9 +20,4 @@
-keep,allowobfuscation class org.conscrypt.OpenSSLProvider {*;}
-adaptclassstrings org.conscrypt.OpenSSLProvider
-dontwarn javax.annotation.Nullable
# use dictionaries to create random class/package names
-obfuscationdictionary dict/obfuscation-dictionary.txt
-classobfuscationdictionary dict/class-dictionary.txt
-packageobfuscationdictionary dict/package-dictionary.txt
-dontwarn javax.annotation.Nullable