mirror of
https://github.com/NiciDieNase/chaosflix
synced 2025-02-17 05:28:24 +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
12
app/proguard-rules.pro
vendored
12
app/proguard-rules.pro
vendored
|
@ -15,8 +15,6 @@
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||||
# public *;
|
# 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.
|
# Platform used when running on Java 8 VMs. Will not be used at runtime.
|
||||||
-dontwarn retrofit2.Platform$Java8
|
-dontwarn retrofit2.Platform$Java8
|
||||||
# Retain generic type information for use by reflection by converters and adapters.
|
# Retain generic type information for use by reflection by converters and adapters.
|
||||||
|
@ -26,3 +24,13 @@
|
||||||
-dontwarn javax.annotation.**
|
-dontwarn javax.annotation.**
|
||||||
-dontwarn sun.misc.Unsafe
|
-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…
Add table
Reference in a new issue