-keep class com.xiaodu.magictool.**{ *; } # OkHttp 如果原来已经keep忽略 -dontwarn okhttp3.** -keep class okhttp3.**{*;} -dontwarn okio.** -keep class okio.**{*;} -keep class com.squareup.okhttp.** { *; } -keep interface com.squareup.okhttp.** { *; } -keep interface okhttp3.** { *; } # JSR 305 annotations are for embedding nullability information. -dontwarn javax.annotation.** # A resource is loaded with a relative path so the package of this class must be preserved. -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java. -dontwarn org.codehaus.mojo.animal_sniffer.* # OkHttp platform used only on JVM and when Conscrypt dependency is available. -dontwarn okhttp3.internal.platform.ConscryptPlatform #websocket -keep class org.java_websocket.** { *; }