File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ android {
2626
2727 buildTypes {
2828 release {
29- minifyEnabled false
29+ minifyEnabled true
3030 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
3131 }
3232 }
Original file line number Diff line number Diff line change 1515#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616# public *;
1717#}
18+
19+ # ===== Retrofit =====
20+ -dontwarn okio.**
21+ -dontwarn javax.annotation.**
22+ # Platform calls Class.forName on types which do not exist on Android to determine platform.
23+ -dontnote retrofit2.Platform
24+ # Platform used when running on Java 8 VMs. Will not be used at runtime.
25+ -dontwarn retrofit2.Platform$Java8
26+ # Retain generic type information for use by reflection by converters and adapters.
27+ -keepattributes Signature
28+ # Retain declared checked exceptions for use by a Proxy instance.
29+ -keepattributes Exceptions
30+
31+ # ===== Glide =====
32+ -keep public class * implements com.bumptech.glide.module.GlideModule
33+ -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
34+ **[] $VALUES;
35+ public *;
36+ }
You can’t perform that action at this time.
0 commit comments