proguard-rules.pro 881 B

1234567891011121314151617181920212223
  1. -keep class com.xiaodu.magictool.**{ *; }
  2. # OkHttp 如果原来已经keep忽略
  3. -dontwarn okhttp3.**
  4. -keep class okhttp3.**{*;}
  5. -dontwarn okio.**
  6. -keep class okio.**{*;}
  7. -keep class com.squareup.okhttp.** { *; }
  8. -keep interface com.squareup.okhttp.** { *; }
  9. -keep interface okhttp3.** { *; }
  10. # JSR 305 annotations are for embedding nullability information.
  11. -dontwarn javax.annotation.**
  12. # A resource is loaded with a relative path so the package of this class must be preserved.
  13. -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
  14. # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
  15. -dontwarn org.codehaus.mojo.animal_sniffer.*
  16. # OkHttp platform used only on JVM and when Conscrypt dependency is available.
  17. -dontwarn okhttp3.internal.platform.ConscryptPlatform
  18. #websocket
  19. -keep class org.java_websocket.** {
  20. *;
  21. }