2016-04-25 21:08:24 +00:00
|
|
|
# Custom serializable
|
2016-03-24 20:58:54 +00:00
|
|
|
-keepclassmembers class * implements java.io.Serializable {
|
|
|
|
static final long serialVersionUID;
|
|
|
|
java.lang.Object writeReplace();
|
|
|
|
java.lang.Object readResolve();
|
|
|
|
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
|
|
|
private <fields>;
|
|
|
|
public <fields>;
|
|
|
|
}
|
2016-04-25 21:08:24 +00:00
|
|
|
|
2020-04-19 18:25:14 +00:00
|
|
|
# EventBus
|
2016-04-25 21:08:24 +00:00
|
|
|
-keepattributes *Annotation*
|
|
|
|
-keepclassmembers class ** {
|
2020-04-19 18:25:14 +00:00
|
|
|
@org.greenrobot.eventbus.Subscribe <methods>;
|
2016-04-25 21:08:24 +00:00
|
|
|
}
|
2020-04-19 18:25:14 +00:00
|
|
|
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
2018-10-19 15:29:28 +00:00
|
|
|
|
|
|
|
# Picasso
|
|
|
|
-dontwarn javax.annotation.**
|
|
|
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
|
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
-dontwarn okhttp3.internal.platform.ConscryptPlatform
|