Add proguard rules for fyyd client (retrofit & moshi)
This commit is contained in:
parent
dc0adb578f
commit
acf10876bd
@ -107,4 +107,19 @@
|
|||||||
-dontwarn com.viewpagerindicator.LinePageIndicator
|
-dontwarn com.viewpagerindicator.LinePageIndicator
|
||||||
|
|
||||||
# for some reason ProGuard removes this file. Why? Unsure.
|
# for some reason ProGuard removes this file. Why? Unsure.
|
||||||
-keep class de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider { *; }
|
-keep class de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider { *; }
|
||||||
|
|
||||||
|
# Retrofit 2.0
|
||||||
|
-dontwarn retrofit2.**
|
||||||
|
-keep class retrofit2.** { *; }
|
||||||
|
-keepattributes Signature
|
||||||
|
-keepattributes Exceptions
|
||||||
|
|
||||||
|
-keepclasseswithmembers class * {
|
||||||
|
@retrofit2.http.* <methods>;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Moshi
|
||||||
|
-keep class com.squareup.moshi.** { *; }
|
||||||
|
-keep interface com.squareup.moshi.** { *; }
|
||||||
|
-keep public class retrofit2.adapter.rxjava.RxJavaCallAdapterFactory { *; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user