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
|
|
|
-keep class * extends com.raizlabs.android.dbflow.config.DatabaseHolder { *; }
|
|
|
|
-keepattributes *Annotation*
|
2017-06-17 00:12:26 +02:00
|
|
|
# EventBus
|
2017-06-03 09:22:10 +02:00
|
|
|
-keepclassmembers class ** {
|
|
|
|
@org.greenrobot.eventbus.Subscribe <methods>;
|
|
|
|
}
|
2017-06-04 06:34:17 +02:00
|
|
|
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
2017-06-17 00:12:26 +02:00
|
|
|
# Enums
|
2017-06-04 06:34:17 +02:00
|
|
|
-keepclassmembers class * extends java.lang.Enum {
|
|
|
|
public *;
|
|
|
|
public static **[] values();
|
|
|
|
public static ** valueOf(java.lang.String);
|
2017-06-04 07:24:19 +02:00
|
|
|
}
|
2017-06-17 00:12:26 +02:00
|
|
|
# Crashlytics
|
2017-06-04 07:24:19 +02:00
|
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
-keep public class * extends java.lang.Exception
|
|
|
|
-keep class com.crashlytics.** { *; }
|
2017-06-07 08:24:06 +02:00
|
|
|
-dontwarn com.crashlytics.**
|
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
|
|
|
|
-keeppackagenames org.jsoup.nodes
|