Simple-Music-Player/app/proguard-rules.pro

23 lines
688 B
Prolog
Raw Normal View History

2016-04-25 21:08:24 +00:00
# Custom serializable
-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 { *; }
# Picasso
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform