File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def configLibAndroidDomain(Project pro) {
139
139
buildTypes {
140
140
release {
141
141
minifyEnabled false
142
- // consumerProguardFiles 'proguard-rules.pro'
142
+ consumerProguardFiles ' proguard-rules.pro'
143
143
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
144
144
}
145
145
}
Original file line number Diff line number Diff line change 26
26
27
27
-keep class com.blankj.subutil.** { *; }
28
28
-keepclassmembers class com.blankj.subutil.** { *; }
29
- -dontwarn com.blankj.subutil.**
29
+ -dontwarn com.blankj.subutil.**
30
+
31
+ # OkHttp
32
+ -dontwarn okio.**
33
+ -dontwarn okhttp3.**
34
+ -dontwarn javax.annotation.Nullable
35
+ -dontwarn javax.annotation.ParametersAreNonnullByDefault
36
+
37
+ # Okio
38
+ -dontwarn com.squareup.**
39
+ -dontwarn okio.**
40
+ -keep public class org.codehaus.* { *; }
41
+ -keep public class java.nio.* { *; }
42
+
43
+ # Retrofit
44
+ -keep class retrofit2.** { *; }
45
+ -dontwarn retrofit2.**
46
+ -keepattributes Signature
47
+ -keepattributes Exceptions
48
+ -dontwarn okio.**
49
+ -dontwarn javax.annotation.**
You can’t perform that action at this time.
0 commit comments