2017-06-03 09:22:10 +02:00
|
|
|
-ignorewarnings
|
2017-06-04 09:19:58 +02:00
|
|
|
-dontwarn kotlin.**
|
2017-06-03 09:22:10 +02:00
|
|
|
-keepattributes *Annotation*
|
2017-06-17 00:12:26 +02:00
|
|
|
# Enums
|
2017-07-09 01:21:13 +02:00
|
|
|
#-keepclassmembers class * extends java.lang.Enum {
|
|
|
|
# public *;
|
|
|
|
# public static **[] values();
|
|
|
|
# public static ** valueOf(java.lang.String);
|
|
|
|
#}
|
2017-06-17 00:12:26 +02:00
|
|
|
# JavaScript Interface
|
2017-06-07 08:24:06 +02:00
|
|
|
-keepclassmembers class * {
|
|
|
|
@android.webkit.JavascriptInterface <methods>;
|
|
|
|
}
|
2017-06-17 00:12:26 +02:00
|
|
|
-keepattributes JavascriptInterface
|
|
|
|
# Jsoup
|
2017-06-23 20:25:45 +02:00
|
|
|
-keeppackagenames org.jsoup.nodes
|
2017-07-04 09:28:52 +02:00
|
|
|
# Glide
|
|
|
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
|
|
-keep public class * extends com.bumptech.glide.AppGlideModule
|
|
|
|
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
|
|
|
|
**[] $VALUES;
|
|
|
|
public *;
|
2017-12-31 06:42:49 +01:00
|
|
|
}
|
|
|
|
# Jackson
|
|
|
|
-keep @com.fasterxml.jackson.annotation.JsonIgnoreProperties class * { *; }
|
|
|
|
-keep @com.fasterxml.jackson.annotation.JsonCreator class * { *; }
|
|
|
|
-keep @com.fasterxml.jackson.annotation.JsonValue class * { *; }
|
|
|
|
-keep class com.fasterxml.** { *; }
|
|
|
|
-keepnames class com.fasterxml.jackson.** { *; }
|
|
|
|
-keepclassmembers public final enum com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility {
|
|
|
|
public static final com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility *;
|
2019-01-01 00:57:28 +01:00
|
|
|
}
|
|
|
|
# Kotlin coroutines
|
|
|
|
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
|
|
|
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
|
|
|
|
-keepclassmembernames class kotlinx.** {
|
|
|
|
volatile <fields>;
|
2017-06-27 20:45:57 +02:00
|
|
|
}
|