File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def configLibAndroidDomain(Project pro) {
139139 buildTypes {
140140 release {
141141 minifyEnabled false
142- // consumerProguardFiles 'proguard-rules.pro'
142+ consumerProguardFiles ' proguard-rules.pro'
143143 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
144144 }
145145 }
Original file line number Diff line number Diff line change 2626
2727-keep class com.blankj.subutil.** { *; }
2828-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