mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-23 04:43:07 +00:00
update proguard rules to make release build work
This commit is contained in:
parent
d735543737
commit
ffc8ffc031
1 changed files with 11 additions and 3 deletions
14
app/proguard-rules.pro
vendored
14
app/proguard-rules.pro
vendored
|
@ -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.
|
||||
|
@ -25,4 +23,14 @@
|
|||
-keepattributes Exceptions
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn sun.misc.Unsafe
|
||||
-dontwarn okio.**
|
||||
-dontwarn okio.**
|
||||
-keep class de.nicidienase.chaosflix.entities.** { *; }
|
||||
#retrofit
|
||||
-dontwarn retrofit2.**
|
||||
-keep class retrofit2.** { *; }
|
||||
-keepattributes *Annotation*,Signature, Exceptions
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
@retrofit2.http.* <methods>;
|
||||
}
|
||||
#endRetrofit
|
Loading…
Reference in a new issue