update config

This commit is contained in:
zlzw 2023-05-09 10:09:03 +08:00
parent e9488df780
commit a041450766
2 changed files with 49 additions and 13 deletions

View File

@ -194,11 +194,15 @@ android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
minifyEnabled true
shrinkResources true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}

View File

@ -12,19 +12,52 @@
# 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 *;
#}
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
# Uncomment this to preserve the groupLast number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
-keepattributes SourceFile,LineNumberTable
# If you keep the groupLast number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-keep class * implements com.yunbao.common.bean.**{*; }
-keep class com.yunbao.common.http.**{*;}
-renamesourcefileattribute SourceFile
-keep class com.yunbao.**{
public <methods>;
protected <methods>;
}
-keep class * implements android.os.Parcelable {
*;
}
-keep class * implements com.yunbao.common.bean.BaseModel {
*;
}-keep class com.yunbao.common.bean.* {
*;
}
-keep class com.yunbao.common.views.weight.VerticalViewPager$LayoutParams{
*;
}
-keep class android.**{
*;
}
#-keep class com.yunbao.common.activity.**{*;}
#-keep class com.yunbao.common.adapter.**{*;}
#-keep class com.yunbao.common.bean.**{*;}
#-keep class com.yunbao.common.custom.**{*;}
#-keep class * extends com.yunbao.common.activity.AbsActivity{
# public *;
# protected *;
#}
#-keep class * extends androidx.appcompat.app.AppCompatActivity{
# public *;
# protected *;
#}
-keep class **.R$* {
public static <fields>;
}
-keep class com.tencent.** { *; }
-keep class com.adjust.sdk.**{ *; }
-keep class com.google.android.gms.common.ConnectionResult {
@ -201,9 +234,8 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
#-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
#-----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 *;
}
#-keep public class com.bumptech.glide.** {*;}
#-keep public class jp.co.cyberagent.** {*;}
#-dontwarn jp.co.cyberagent.android.gpuimage.**
#
#-printconfiguration tmp/full-r8-config.txt