update config
This commit is contained in:
parent
a041450766
commit
34c569ecb5
65
app/proguard-rules.pro
vendored
65
app/proguard-rules.pro
vendored
@ -28,12 +28,10 @@
|
||||
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.bean.** {
|
||||
*;
|
||||
}
|
||||
|
||||
@ -43,18 +41,7 @@
|
||||
-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>;
|
||||
}
|
||||
@ -214,28 +201,28 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
||||
# -keep class * implements com.alibaba.android.arouter.facade.template.IProvider
|
||||
|
||||
#----retrofit2
|
||||
#-keepattributes Signature, InnerClasses, EnclosingMethod
|
||||
#-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
|
||||
#-keepattributes AnnotationDefault
|
||||
#-keepclassmembers,allowshrinking,allowobfuscation interface * {
|
||||
# @retrofit2.http.* <methods>;
|
||||
#}
|
||||
#-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement*
|
||||
#-dontwarn javax.annotation.**
|
||||
#-dontwarn kotlin.Unit
|
||||
#-dontwarn retrofit2.KotlinExtensions*
|
||||
#-dontwarn retrofit2.KotlinExtensions$*
|
||||
#-if interface * { @retrofit2.http.* <methods>; }
|
||||
#-keep,allowobfuscation interface <1>
|
||||
#-if interface * { @retrofit2.http.* <methods>; }
|
||||
#-keep,allowobfuscation interface * extends <1>
|
||||
#-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
|
||||
#-if interface * { @retrofit2.http.* public *** *(...); }
|
||||
#-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
|
||||
-keepattributes Signature, InnerClasses, EnclosingMethod
|
||||
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
|
||||
-keepattributes AnnotationDefault
|
||||
-keepclassmembers,allowshrinking,allowobfuscation interface * {
|
||||
@retrofit2.http.* <methods>;
|
||||
}
|
||||
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement*
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn kotlin.Unit
|
||||
-dontwarn retrofit2.KotlinExtensions*
|
||||
-dontwarn retrofit2.KotlinExtensions$*
|
||||
-if interface * { @retrofit2.http.* <methods>; }
|
||||
-keep,allowobfuscation interface <1>
|
||||
-if interface * { @retrofit2.http.* <methods>; }
|
||||
-keep,allowobfuscation interface * extends <1>
|
||||
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
|
||||
-if interface * { @retrofit2.http.* public *** *(...); }
|
||||
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
|
||||
|
||||
#-----glide
|
||||
#-keep public class com.bumptech.glide.** {*;}
|
||||
#-keep public class jp.co.cyberagent.** {*;}
|
||||
#-dontwarn jp.co.cyberagent.android.gpuimage.**
|
||||
#
|
||||
#-printconfiguration tmp/full-r8-config.txt
|
||||
-keep public class com.bumptech.glide.** {*;}
|
||||
-keep public class jp.co.cyberagent.** {*;}
|
||||
-dontwarn jp.co.cyberagent.android.gpuimage.**
|
||||
|
||||
-printconfiguration tmp/full-r8-config.txt
|
@ -22,4 +22,5 @@ android.enableJetifier=true
|
||||
systemProp.http.proxyHost=127.0.0.1
|
||||
systemProp.https.proxyHost=127.0.0.1
|
||||
systemProp.https.proxyPort=7890
|
||||
systemProp.http.proxyPort=7890
|
||||
systemProp.http.proxyPort=7890
|
||||
#android.enableR8.fullMode=true
|
Loading…
Reference in New Issue
Block a user