36 lines
915 B
Prolog
36 lines
915 B
Prolog
# Glide
|
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
-keep class * extends com.bumptech.glide.module.AppGlideModule {
|
|
<init>(...);
|
|
}
|
|
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
|
**[] $VALUES;
|
|
public *;
|
|
}
|
|
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
|
|
*** rewind();
|
|
}
|
|
|
|
# for DexGuard only
|
|
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
|
|
|
|
# Bugly
|
|
-dontwarn com.tencent.bugly.**
|
|
-keep public class com.tencent.bugly.**{*;}
|
|
|
|
# AOP
|
|
-adaptclassstrings
|
|
-keepattributes InnerClasses, EnclosingMethod, Signature, *Annotation*
|
|
|
|
-keepnames @org.aspectj.lang.annotation.Aspect class * {
|
|
public <methods>;
|
|
}
|
|
|
|
# OkHttp3
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class okhttp3.** { *; }
|
|
-keep interface okhttp3.** { *; }
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
-dontwarn org.conscrypt.** |