proguard-rules.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. -keep class com.kongzue.dialogx.** { *; }
  20. -dontwarn com.kongzue.dialogx.**
  21. # 额外的,建议将 android.view 也列入 keep 范围:
  22. -keep class android.view.** { *; }
  23. # 若启用模糊效果,请增加如下配置:
  24. -dontwarn androidx.renderscript.**
  25. -keep public class androidx.renderscript.** { *; }
  26. # 忽略 BlockHound 集成类缺失的警告
  27. -dontwarn reactor.blockhound.integration.BlockHoundIntegration
  28. # 也可以一并忽略 netty Hidden 里引用的 BlockHoundIntegration
  29. -dontwarn io.netty.util.internal.Hidden$NettyBlockHoundIntegration