Skip to content

Commit 40bd49e

Browse files
committed
删除无用或者重复的混淆规则
1 parent 8f63122 commit 40bd49e

1 file changed

Lines changed: 0 additions & 37 deletions

File tree

app/proguard-sdk.pro

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,3 @@
1-
# Glide
2-
-keep public class * implements com.bumptech.glide.module.GlideModule
3-
-keep class * extends com.bumptech.glide.module.AppGlideModule {
4-
<init>(...);
5-
}
6-
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
7-
**[] $VALUES;
8-
public *;
9-
}
10-
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
11-
*** rewind();
12-
}
13-
14-
# for DexGuard only
15-
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
16-
17-
# Bugly
18-
-dontwarn com.tencent.bugly.**
19-
-keep public class com.tencent.bugly.**{*;}
20-
21-
# AOP
22-
-adaptclassstrings
23-
-keepattributes InnerClasses, EnclosingMethod, Signature, *Annotation*
24-
25-
-keepnames @org.aspectj.lang.annotation.Aspect class * {
26-
public <methods>;
27-
}
28-
29-
# OkHttp3
30-
-keepattributes Signature
31-
-keepattributes *Annotation*
32-
-keep class okhttp3.** { *; }
33-
-keep interface okhttp3.** { *; }
34-
-dontwarn okhttp3.**
35-
-dontwarn okio.**
36-
-dontwarn org.conscrypt.**
37-
381
# EasyHttp
392
# 不混淆实现 OnHttpListener 接口的类,必须要加上此规则,否则会导致泛型解析失败
403
-keep class * implements com.hjq.http.listener.OnHttpListener {

0 commit comments

Comments
 (0)