diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2020-07-09 16:36:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 16:36:05 +0000 |
commit | 98f4da3868b5caf1082347f97faea49db595091d (patch) | |
tree | e8fb13c4504a6d87531f0277cdf5193716bfa810 /app/proguard-rules.pro | |
parent | bc8eea15ac737019a49bb721ba17897c3dcb9608 (diff) | |
parent | 105a5642ea7291d589cf294c36e0500ebb101e42 (diff) | |
download | infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar.gz infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar.bz2 infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar.lz infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar.xz infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.tar.zst infinity-for-reddit-98f4da3868b5caf1082347f97faea49db595091d.zip |
Merge pull request #153 from OHermesJunior/proguard-on
Add minified Release.
Diffstat (limited to '')
-rw-r--r-- | app/proguard-rules.pro | 21 |
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); +} |