summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMartin Fietz <Martin.Fietz@gmail.com>2016-11-02 21:24:36 +0100
committerMartin Fietz <Martin.Fietz@gmail.com>2016-11-02 21:24:36 +0100
commitacf10876bd8f0080b55f9ff37b316472b29d497a (patch)
tree975ca1851619af151fac5d320888d66d4a254c00 /app
parentdc0adb578f33ed9acdcfa076128e531abc4258fd (diff)
downloadAntennaPod-acf10876bd8f0080b55f9ff37b316472b29d497a.zip
Add proguard rules for fyyd client (retrofit & moshi)
Diffstat (limited to 'app')
-rw-r--r--app/proguard.cfg17
1 files changed, 16 insertions, 1 deletions
diff --git a/app/proguard.cfg b/app/proguard.cfg
index a25664490..474beddc2 100644
--- a/app/proguard.cfg
+++ b/app/proguard.cfg
@@ -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 { *; }