2015-04-27 00:00:52 +02:00
|
|
|
-dontobfuscate
|
2012-09-17 00:48:52 +02:00
|
|
|
-renamesourcefileattribute SourceFile
|
|
|
|
-keepattributes SourceFile,LineNumberTable
|
2015-04-27 00:00:52 +02:00
|
|
|
-optimizations !code/allocation/variable
|
2017-10-22 11:59:15 +02:00
|
|
|
-optimizationpasses 5
|
2012-09-17 00:48:52 +02:00
|
|
|
|
2012-09-20 18:21:01 +02:00
|
|
|
-allowaccessmodification
|
2020-04-10 00:03:53 +02:00
|
|
|
-dontskipnonpubliclibraryclassmembers
|
2011-12-23 19:22:06 +01:00
|
|
|
|
2020-04-10 00:03:53 +02: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
|
|
|
}
|
|
|
|
|
2014-07-26 14:35:03 +02:00
|
|
|
-keep public class org.jsoup.** {
|
|
|
|
public *;
|
|
|
|
}
|
2014-07-27 23:29:47 +02:00
|
|
|
|
2019-01-06 00:23:34 +01:00
|
|
|
# for okhttp
|
2016-11-13 22:04:08 +01:00
|
|
|
-dontwarn okhttp3.**
|
2014-07-27 23:29:47 +02:00
|
|
|
-dontwarn okio.**
|
2015-08-22 17:31:41 +02:00
|
|
|
|
2015-04-21 21:00:51 +02:00
|
|
|
# android-iconify
|
|
|
|
-keep class com.joanzapata.** { *; }
|
2015-07-21 20:04:39 +02:00
|
|
|
|
2022-05-26 18:00:10 +02:00
|
|
|
#### Proguard rules for fyyd client
|
2016-11-02 21:24:36 +01:00
|
|
|
# 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.** { *; }
|
2022-05-26 18:00:10 +02:00
|
|
|
####
|
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
|