chore(proguard-rules.pro): 修复 Retrofit 混淆

This commit is contained in:
HuanChengFly 2020-04-15 23:44:33 +08:00
parent 247aa2770f
commit 9256016baa
1 changed files with 12 additions and 0 deletions

View File

@ -234,3 +234,15 @@
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
}
# OkHttp3
-dontwarn okhttp3.logging.**
-keep class okhttp3.internal.**{*;}
-dontwarn okio.**
# Retrofit
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions