aboutsummaryrefslogtreecommitdiff
path: root/app/proguard-rules.pro
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-16 15:12:26 -0700
committerAllan Wang <me@allanwang.ca>2017-06-16 15:12:26 -0700
commit980fb3eecd6ae0c111e6e9c589ae4dee23df5567 (patch)
treefa61000c43707f3658c3e727499f0ce869e6479d /app/proguard-rules.pro
parentbc5b6bd0a55bc81a5d7bd053c1c559b4cf822cb9 (diff)
downloadfrost-980fb3eecd6ae0c111e6e9c589ae4dee23df5567.tar.gz
frost-980fb3eecd6ae0c111e6e9c589ae4dee23df5567.tar.bz2
frost-980fb3eecd6ae0c111e6e9c589ae4dee23df5567.zip
Proguard for jsoup
Diffstat (limited to 'app/proguard-rules.pro')
-rw-r--r--app/proguard-rules.pro12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index bcca6dd4..20fe7237 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -2,24 +2,26 @@
-dontwarn kotlin.**
-keep class * extends com.raizlabs.android.dbflow.config.DatabaseHolder { *; }
-keepattributes *Annotation*
-#EventBus
+# EventBus
-keepclassmembers class ** {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
-#Enums
+# Enums
-keepclassmembers class * extends java.lang.Enum {
public *;
public static **[] values();
public static ** valueOf(java.lang.String);
}
-#Crashlytics
+# Crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**
-#JavaScript Interface
+# JavaScript Interface
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
--keepattributes JavascriptInterface \ No newline at end of file
+-keepattributes JavascriptInterface
+# Jsoup
+-keeppackagenames org.jsoup.nodes \ No newline at end of file