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>;
|
public <methods>;
|
||||||
protected <methods>;
|
protected <methods>;
|
||||||
}
|
}
|
||||||
-keep class * implements android.os.Parcelable {
|
|
||||||
*;
|
|
||||||
}
|
|
||||||
-keep class * implements com.yunbao.common.bean.BaseModel {
|
-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 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$* {
|
-keep class **.R$* {
|
||||||
public static <fields>;
|
public static <fields>;
|
||||||
}
|
}
|
||||||
@ -214,28 +201,28 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
# -keep class * implements com.alibaba.android.arouter.facade.template.IProvider
|
# -keep class * implements com.alibaba.android.arouter.facade.template.IProvider
|
||||||
|
|
||||||
#----retrofit2
|
#----retrofit2
|
||||||
#-keepattributes Signature, InnerClasses, EnclosingMethod
|
-keepattributes Signature, InnerClasses, EnclosingMethod
|
||||||
#-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
|
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
|
||||||
#-keepattributes AnnotationDefault
|
-keepattributes AnnotationDefault
|
||||||
#-keepclassmembers,allowshrinking,allowobfuscation interface * {
|
-keepclassmembers,allowshrinking,allowobfuscation interface * {
|
||||||
# @retrofit2.http.* <methods>;
|
@retrofit2.http.* <methods>;
|
||||||
#}
|
}
|
||||||
#-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement*
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement*
|
||||||
#-dontwarn javax.annotation.**
|
-dontwarn javax.annotation.**
|
||||||
#-dontwarn kotlin.Unit
|
-dontwarn kotlin.Unit
|
||||||
#-dontwarn retrofit2.KotlinExtensions*
|
-dontwarn retrofit2.KotlinExtensions*
|
||||||
#-dontwarn retrofit2.KotlinExtensions$*
|
-dontwarn retrofit2.KotlinExtensions$*
|
||||||
#-if interface * { @retrofit2.http.* <methods>; }
|
-if interface * { @retrofit2.http.* <methods>; }
|
||||||
#-keep,allowobfuscation interface <1>
|
-keep,allowobfuscation interface <1>
|
||||||
#-if interface * { @retrofit2.http.* <methods>; }
|
-if interface * { @retrofit2.http.* <methods>; }
|
||||||
#-keep,allowobfuscation interface * extends <1>
|
-keep,allowobfuscation interface * extends <1>
|
||||||
#-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
|
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
|
||||||
#-if interface * { @retrofit2.http.* public *** *(...); }
|
-if interface * { @retrofit2.http.* public *** *(...); }
|
||||||
#-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
|
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
|
||||||
|
|
||||||
#-----glide
|
#-----glide
|
||||||
#-keep public class com.bumptech.glide.** {*;}
|
-keep public class com.bumptech.glide.** {*;}
|
||||||
#-keep public class jp.co.cyberagent.** {*;}
|
-keep public class jp.co.cyberagent.** {*;}
|
||||||
#-dontwarn jp.co.cyberagent.android.gpuimage.**
|
-dontwarn jp.co.cyberagent.android.gpuimage.**
|
||||||
#
|
|
||||||
#-printconfiguration tmp/full-r8-config.txt
|
-printconfiguration tmp/full-r8-config.txt
|
@ -23,3 +23,4 @@ systemProp.http.proxyHost=127.0.0.1
|
|||||||
systemProp.https.proxyHost=127.0.0.1
|
systemProp.https.proxyHost=127.0.0.1
|
||||||
systemProp.https.proxyPort=7890
|
systemProp.https.proxyPort=7890
|
||||||
systemProp.http.proxyPort=7890
|
systemProp.http.proxyPort=7890
|
||||||
|
#android.enableR8.fullMode=true
|
Loading…
Reference in New Issue
Block a user