consumer-rules.pro 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in /Users/sumirrowu/Library/Android/sdk/tools/proguard/proguard-android.txt
  4. # You can edit the include path and order by changing the proguardFiles
  5. # directive in build.gradle.
  6. #
  7. # For more details, see
  8. # http://developer.android.com/guide/developing/tools/proguard.html
  9. # Add any project specific keep options here:
  10. # If your project uses WebView with JS, uncomment the following
  11. # and specify the fully qualified class name to the JavaScript interface
  12. # class:
  13. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  14. # public *;
  15. #}
  16. -optimizationpasses 5
  17. #混淆时不会产生形形色色的类名
  18. -dontusemixedcaseclassnames
  19. #指定不去忽略非公共的库类
  20. -dontskipnonpubliclibraryclasses
  21. #不预校验
  22. #-dontpreverify
  23. #不优化输入的类文件
  24. -dontoptimize
  25. -ignorewarnings
  26. -verbose
  27. #优化
  28. -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
  29. #保护内部类
  30. -keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
  31. -keep class com.bytedance.sdk.openadsdk.** {*;}
  32. -keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
  33. -keep class com.pgl.sys.ces.* {*;}