Fixed EventBus getting removed by proguard

This commit is contained in:
ByteHamster 2019-10-25 11:54:06 +02:00
parent 76b913b154
commit 0407d27e99
1 changed files with 4 additions and 3 deletions

View File

@ -80,10 +80,11 @@
-dontskipnonpubliclibraryclassmembers
# greenrobot EventBus
-keepclassmembers class ** {
public void onEvent*(**);
-keepattributes *Annotation*
-keepclassmembers class * {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep class de.danoeh.antennapod.core.event.*
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
# android-iconify
-keep class com.joanzapata.** { *; }