Fixed EventBus getting removed by proguard

This commit is contained in:
ByteHamster 2019-10-25 11:54:06 +02:00
parent 76b913b154
commit 0407d27e99

View File

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