|
- # Add project specific ProGuard rules here.
- # You can control the set of applied configuration files using the
- # proguardFiles setting in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
-
- # 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 *;
- #}
-
- # Uncomment this to preserve the line number information for
- # debugging stack traces.
- #-keepattributes SourceFile,LineNumberTable
-
- # If you keep the line number information, uncomment this to
- # hide the original source file name.
- #-renamesourcefileattribute SourceFile
-
- -flattenpackagehierarchy
- -allowaccessmodification
- -keepattributes Exceptions,InnerClasses,Signature,SourceFile,LineNumberTable
- -dontskipnonpubliclibraryclassmembers
- -ignorewarnings
- #kotlin
- -keep class kotlin.Metadata { *; }
- -dontwarn kotlin.**
- -keepclassmembers class **$WhenMappings {
- <fields>;
- }
- -keepclassmembers class kotlin.Metadata {
- public <methods>;
- }
- -assumenosideeffects class kotlin.jvm.internal.Intrinsics {
- static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
- }
-
- -keepclasseswithmembernames class * {
- native <methods>;
- }
-
- -keepclassmembers class * extends android.app.Activity {
- public void *(android.view.View);
- }
- -keepclassmembers class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
- }
- -keep class **.R$* {*;}
- -keepclassmembers enum * { *;}
-
-
-
-
- #Gson
- -keepclassmembers public class com.google.gson.**
- -keepclassmembers public class com.google.gson.** {public private protected *;}
- -keepclassmembers public class com.project.mocha_patient.login.SignResponseData { private *; }
- -keepclassmembers class sun.misc.Unsafe { *; }
- -keep @interface com.google.gson.annotations.SerializedName
- -keepclassmembers class * {
- @com.google.gson.annotations.SerializedName <fields>;
- }
-
- #bean
- -keep class com.yzx.webebook.model.** { *; }
- -keep class com.yzx.webebook.model.Note { *; }
- -keep class com.yzx.webebook.model.ac { *; }
- -keep class com.yzx.webebook.model.UploadBean { *; }
- -keep class com.yzx.webebook.model.UploadContent { *; }
-
- -keep class **$Properties {*;}
-
- #Glide
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep public class * extends com.bumptech.glide.module.AppGlideModule
- -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- # for DexGuard only
- #-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
- -dontwarn com.bumptech.glide.**
-
-
- # ProGuard configurations for Bugtags
- -keepattributes LineNumberTable,SourceFile
- -dontwarn com.bugtags.library.**
- -dontwarn io.bugtags.**
- -dontwarn org.apache.http.**
- -dontwarn android.net.http.AndroidHttpClient
|