update proguard rules to make release build work

This commit is contained in:
Felix 2017-04-06 18:59:59 +02:00
parent d735543737
commit ffc8ffc031

View file

@ -15,8 +15,6 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Platform calls Class.forName on types which do not exist on Android to determine platform.
-dontnote retrofit2.Platform
# Platform used when running on Java 8 VMs. Will not be used at runtime.
-dontwarn retrofit2.Platform$Java8
# Retain generic type information for use by reflection by converters and adapters.
@ -26,3 +24,13 @@
-dontwarn javax.annotation.**
-dontwarn sun.misc.Unsafe
-dontwarn okio.**
-keep class de.nicidienase.chaosflix.entities.** { *; }
#retrofit
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes *Annotation*,Signature, Exceptions
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
#endRetrofit