2015-08-15 13:18:40 -07:00
|
|
|
-dontobfuscate
|
|
|
|
-dontoptimize
|
|
|
|
-keepattributes SourceFile,LineNumberTable,Exceptions
|
|
|
|
-keep class org.fdroid.fdroid.** {*;}
|
|
|
|
-dontskipnonpubliclibraryclassmembers
|
|
|
|
-dontwarn android.test.**
|
|
|
|
|
|
|
|
-dontwarn javax.naming.**
|
2018-04-11 14:04:11 +02:00
|
|
|
-dontwarn org.slf4j.**
|
2018-04-12 23:16:33 +02:00
|
|
|
-dontnote org.apache.http.**
|
|
|
|
-dontnote android.net.http.**
|
2015-08-15 13:18:40 -07:00
|
|
|
-dontnote **ILicensingService
|
|
|
|
|
2018-07-12 12:00:08 +02:00
|
|
|
# Needed for espresso https://stackoverflow.com/a/21706087
|
|
|
|
-dontwarn org.xmlpull.v1.**
|
|
|
|
|
2016-02-26 19:48:07 +01:00
|
|
|
# StrongHttpsClient and its support classes are totally unused, so the
|
|
|
|
# ch.boye.httpclientandroidlib.** classes are also unneeded
|
|
|
|
-dontwarn info.guardianproject.netcipher.client.**
|
|
|
|
|
2015-08-29 21:42:50 -07:00
|
|
|
# These libraries are known to break if minification is enabled on them. They
|
|
|
|
# use reflection to instantiate classes, for example. If the keep flags are
|
|
|
|
# removed, proguard will strip classes which are required, which may result in
|
|
|
|
# crashes.
|
2015-11-12 20:21:48 +01:00
|
|
|
-keep class kellinwood.security.zipsigner.** {*;}
|
2018-04-19 15:13:49 +02:00
|
|
|
-keep class org.bouncycastle.** {*;}
|
2015-08-15 13:18:40 -07:00
|
|
|
|
|
|
|
# This keeps class members used for SystemInstaller IPC.
|
|
|
|
# Reference: https://gitlab.com/fdroid/fdroidclient/issues/79
|
|
|
|
-keepclassmembers class * implements android.os.IInterface {
|
|
|
|
public *;
|
|
|
|
}
|
2015-08-15 14:00:24 -07:00
|
|
|
|
2017-03-22 21:38:33 +01:00
|
|
|
-keepattributes *Annotation*,EnclosingMethod,Signature
|
|
|
|
-keepnames class com.fasterxml.jackson.** { *; }
|
|
|
|
-dontwarn com.fasterxml.jackson.databind.ext.**
|
|
|
|
-keep class org.codehaus.** { *; }
|
|
|
|
-keepclassmembers public final enum org.codehaus.jackson.annotate.JsonAutoDetect$Visibility {
|
|
|
|
public static final org.codehaus.jackson.annotate.JsonAutoDetect$Visibility *; }
|
|
|
|
-keep public class your.class.** {
|
|
|
|
*;
|
2021-01-06 16:15:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# This is necessary so that RemoteWorkManager can be initialized (also marked with @Keep)
|
|
|
|
-keep class androidx.work.multiprocess.RemoteWorkManagerClient {
|
|
|
|
public <init>(...);
|
2017-03-22 21:38:33 +01:00
|
|
|
}
|