summaryrefslogtreecommitdiff
path: root/app/proguard.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'app/proguard.cfg')
-rw-r--r--app/proguard.cfg19
1 files changed, 17 insertions, 2 deletions
diff --git a/app/proguard.cfg b/app/proguard.cfg
index a25664490..815a89452 100644
--- a/app/proguard.cfg
+++ b/app/proguard.cfg
@@ -53,7 +53,7 @@
public *;
}
--dontwarn com.squareup.okhttp.**
+-dontwarn okhttp3.**
-dontwarn okio.**
# for RxJava:
@@ -107,4 +107,19 @@
-dontwarn com.viewpagerindicator.LinePageIndicator
# for some reason ProGuard removes this file. Why? Unsure.
--keep class de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider { *; } \ No newline at end of file
+-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 { *; }