update config
This commit is contained in:
parent
e9488df780
commit
a041450766
@ -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
|
||||
}
|
||||
|
58
app/proguard-rules.pro
vendored
58
app/proguard-rules.pro
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user