AntennaPod/app/proguard.cfg

61 lines
1.6 KiB
INI
Raw Normal View History

-dontobfuscate
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
-optimizations !code/allocation/variable
2017-10-22 11:59:15 +02:00
-optimizationpasses 5
2012-09-20 18:21:01 +02:00
-allowaccessmodification
-dontskipnonpubliclibraryclassmembers
2011-12-23 19:22:06 +01:00
# Keep our own classes and members. They are all used.
# Without this, methods only used in tests are removed and break tests.
-keep class de.danoeh.antennapod**
-keepclassmembers class de.danoeh.antennapod** {*;}
-keep class de.test.antennapod**
-keepclassmembers class de.test.antennapod** {*;}
# Keep methods used in tests.
# This is only needed when running tests with proguard enabled.
-keepclassmembers class org.apache.commons.lang3.StringUtils {*;}
-keepclassmembers class androidx.appcompat.app.ActionBar {
public ** getTitle();
}
-keepclassmembers class org.apache.commons.io.IOUtils {
public static void write(...);
2011-12-23 19:22:06 +01:00
}
-keep public class org.jsoup.** {
public *;
}
2019-01-06 00:23:34 +01:00
# for okhttp
2016-11-13 22:04:08 +01:00
-dontwarn okhttp3.**
2015-04-21 21:00:51 +02:00
# android-iconify
-keep class com.joanzapata.** { *; }
2015-07-21 20:04:39 +02:00
#### Proguard rules for fyyd client
# Retrofit 2.0
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
# Moshi
-keep class com.squareup.moshi.** { *; }
-keep interface com.squareup.moshi.** { *; }
####
2018-10-11 20:10:14 +02:00
# awaitility
-dontwarn java.beans.BeanInfo
-dontwarn java.beans.Introspector
-dontwarn java.beans.IntrospectionException
-dontwarn java.beans.PropertyDescriptor
-dontwarn java.lang.management.ManagementFactory
-dontwarn java.lang.management.ThreadInfo
-dontwarn java.lang.management.ThreadMXBean