aboutsummaryrefslogtreecommitdiff
path: root/app/proguard-rules.pro
diff options
context:
space:
mode:
authorHermes Junior <ohermesjunior@gmail.com>2020-07-09 15:44:49 +0000
committerOHermesJunior <ohermesjunior@gmail.com>2020-07-09 15:44:49 +0000
commit105a5642ea7291d589cf294c36e0500ebb101e42 (patch)
treea0f224fcd1c8e88dcbf6e36e874ad7bdc1c35501 /app/proguard-rules.pro
parent70264ee6321660414069cda09ce076eb007478d4 (diff)
downloadinfinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.gz
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.bz2
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.lz
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.xz
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.zst
infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.zip
Add minified Release.
Diffstat (limited to 'app/proguard-rules.pro')
-rw-r--r--app/proguard-rules.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
new file mode 100644
index 00000000..50b179d4
--- /dev/null
+++ b/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+## Preferences reflection
+-keep class * extends androidx.preference.PreferenceFragmentCompat
+
+## EventBus Rules
+-keepattributes *Annotation*
+-keepclassmembers class * {
+ @org.greenrobot.eventbus.Subscribe <methods>;
+}
+-keep enum org.greenrobot.eventbus.ThreadMode { *; }
+# And if you use AsyncExecutor:
+-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
+ <init>(java.lang.Throwable);
+}