proguard-rules.pro 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. #-keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. # umeng
  20. -keep class com.umeng.** {*;}
  21. -keep class org.repackage.** {*;}
  22. -keepclassmembers class * {
  23. public <init> (org.json.JSONObject);
  24. }
  25. -keepclassmembers enum * {
  26. public static **[] values();
  27. public static ** valueOf(java.lang.String);
  28. }
  29. #okhttp
  30. -dontwarn okhttp3.**
  31. -keep class okhttp3.**{*;}
  32. #okio
  33. -dontwarn okio.**
  34. -keep class okio.**{*;}
  35. #bean
  36. -dontwarn org.yameida.worktool.model.**
  37. -keep class org.yameida.worktool.model.**{*;}
  38. #talkingdata
  39. -dontwarn com.tendcloud.tenddata.**
  40. -keep class com.tendcloud.** {*;}
  41. -keep public class com.tendcloud.** { public protected *;}
  42. #iwwapi
  43. -keep class com.tencent.wework.api.** {
  44. *;
  45. }