1234567891011121314151617181920212223242526 |
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in C:\Users\Administrator\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt
- # You can edit the include path and order by changing the proguardFiles
- # directive in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # Add any project specific keep options here:
- # If your project uses WebView with JS, uncomment the following
- # and specify the fully qualified class name to the JavaScript interface
- # class:
- #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
- # public *;
- #}
- -keep public class com.alibaba.android.arouter.routes.**{*;}
- -keep public class com.alibaba.android.arouter.facade.**{*;}
- -keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
- # If you use the byType method to obtain Service, add the following rules to protect the interface:
- -keep interface * implements com.alibaba.android.arouter.facade.template.IProvider
- # 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
- # -keep class * implements com.alibaba.android.arouter.facade.template.IProvider
|