2024-02-05 21:50:43 +01:00
|
|
|
-dontobfuscate
|
|
|
|
-renamesourcefileattribute SourceFile
|
|
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
-optimizations !code/allocation/variable
|
|
|
|
-optimizationpasses 5
|
|
|
|
|
|
|
|
-allowaccessmodification
|
|
|
|
-dontskipnonpubliclibraryclassmembers
|
|
|
|
|
|
|
|
# Keep our own classes and members. They are all used.
|
|
|
|
# Without this, methods only used in tests are removed and break tests.
|
2024-02-20 11:30:25 +01:00
|
|
|
-keep class ac.mdiq.podcini**
|
|
|
|
-keepclassmembers class ac.mdiq.podcini** {*;}
|
2024-02-25 22:29:02 +01:00
|
|
|
# -keep class de.test.podcini**
|
|
|
|
# -keepclassmembers class de.test.podcini** {*;}
|
2024-02-05 21:50:43 +01:00
|
|
|
|
|
|
|
# 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(...);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keep public class org.jsoup.** {
|
|
|
|
public *;
|
|
|
|
}
|
|
|
|
|
|
|
|
# for okhttp
|
|
|
|
-dontwarn okhttp3.**
|
|
|
|
-dontwarn okio.**
|
|
|
|
|
|
|
|
# android-iconify
|
|
|
|
-keep class com.joanzapata.** { *; }
|
|
|
|
|
|
|
|
#### Proguard rules for fyyd client
|
|
|
|
# Retrofit 2.0
|
|
|
|
-dontwarn retrofit2.**
|
|
|
|
-keep class retrofit2.** { *; }
|
|
|
|
-keepattributes Signature
|
|
|
|
-keepattributes Exceptions
|
|
|
|
|
2024-02-14 12:20:57 +01:00
|
|
|
-dontwarn org.jspecify.annotations.NullMarked
|
|
|
|
|
2024-02-05 21:50:43 +01:00
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
@retrofit2.http.* <methods>;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Moshi
|
|
|
|
-keep class com.squareup.moshi.** { *; }
|
|
|
|
-keep interface com.squareup.moshi.** { *; }
|
|
|
|
####
|
|
|
|
|
|
|
|
# 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
|