https://github.com/greenrobot/EventBus
android EventBus 3.0 混淆配置README中上根本找不到。
后来还是在官网的角落找到
混淆代码如下:
-keepattributes *Annotation*
-keepclassmembers class ** {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
# Only required if you use AsyncExecutor
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
<init>(java.lang.Throwable);
}
官方混淆角落里被我发掘的:
http://greenrobot.org/eventbus/documentation/proguard/