1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in D:\as_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 *;
- #}
- #Gson
- -keep class com.test.model.response.** {*;}
- -keepattributes Signature
- -keep class com.google.gson {*;}
- -keep class sun.misc.Unsafe {*;}
- -keep class * implements com.zcolin.frame.http.ZReply {*;}
- # OkHttp3
- -dontwarn com.squareup.okhttp3.**
- -keep class com.squareup.okhttp3.** { *;}
- -dontwarn okio.**
- # Glide
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- #greenDao混淆
- -keepclassmembers class * extends org.greenrobot.greendao.AbstractDao {
- public static java.lang.String TABLENAME;
- }
- -keep class **$Properties
- # If you do not use SQLCipher:
- -dontwarn org.greenrobot.greendao.database.**
- # If you do not use Rx:
- -dontwarn rx.**
- #Serializable
- -keepclassmembers class * implements java.io.Serializable {
- static final long serialVersionUID;
- private static final java.io.ObjectStreamField[] serialPersistentFields;
- private void writeObject(java.io.ObjectOutputStream);
- private void readObject(java.io.ObjectInputStream);
- java.lang.Object writeReplace();
- java.lang.Object readResolve();
- }
- -keep public class * implements java.io.Serializable {*;}
|