From 105a5642ea7291d589cf294c36e0500ebb101e42 Mon Sep 17 00:00:00 2001 From: Hermes Junior Date: Thu, 9 Jul 2020 17:44:49 +0200 Subject: Add minified Release. --- app/proguard-rules.pro | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/proguard-rules.pro (limited to 'app/proguard-rules.pro') 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 ; +} +-keep enum org.greenrobot.eventbus.ThreadMode { *; } +# And if you use AsyncExecutor: +-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent { + (java.lang.Throwable); +} -- cgit v1.2.3