adding some EventBus related proguard fules
This commit is contained in:
parent
f1054013ea
commit
5ad7511baf
1 changed files with 6 additions and 0 deletions
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
|
@ -0,0 +1,6 @@
|
|||
# EventBus
|
||||
-keepattributes *Annotation*
|
||||
-keepclassmembers class ** {
|
||||
@org.greenrobot.eventbus.Subscribe <methods>;
|
||||
}
|
||||
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
Loading…
Reference in a new issue