proguard-rules.pro 1.3 KB

1234567891011121314151617181920212223242526
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in C:\Users\Administrator\AppData\Local\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. -keep public class com.alibaba.android.arouter.routes.**{*;}
  17. -keep public class com.alibaba.android.arouter.facade.**{*;}
  18. -keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
  19. # If you use the byType method to obtain Service, add the following rules to protect the interface:
  20. -keep interface * implements com.alibaba.android.arouter.facade.template.IProvider
  21. # If single-type injection is used, that is, no interface is defined to implement IProvider, the following rules need to be added to protect the implementation
  22. # -keep class * implements com.alibaba.android.arouter.facade.template.IProvider