Skip to content

Commit 4090dbd

Browse files
committed
bump up to version v3.3.0
1 parent cb96612 commit 4090dbd

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

app/proguard-rules.pro

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,22 @@
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+
}

0 commit comments

Comments
 (0)