chore: 修复混淆文件

This commit is contained in:
HuanCheng65 2021-08-19 04:25:05 -05:00 committed by GitHub
parent e2c4d64a2c
commit 5fee614442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -38,11 +38,11 @@
-dontnote com.google.android.material.** -dontnote com.google.android.material.**
-dontwarn androidx.** -dontwarn androidx.**
-keepclasseswithmembernames class * { -keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet);
} }
-keepclasseswithmembernames class * { -keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int); public <init>(android.content.Context, android.util.AttributeSet, int);
} }
@ -85,7 +85,7 @@
void *(**On*Listener); void *(**On*Listener);
} }
# 保留本地native方法不被混淆 # 保留本地native方法不被混淆
-keepclasseswithmembernames class * { -keepclasseswithmembers class * {
native <methods>; native <methods>;
} }
@ -253,4 +253,4 @@
-keep class androidx.recyclerview.widget.RecyclerView$ViewHolder { *; } -keep class androidx.recyclerview.widget.RecyclerView$ViewHolder { *; }
-keep class androidx.recyclerview.widget.RecyclerView$LayoutManager { *; } -keep class androidx.recyclerview.widget.RecyclerView$LayoutManager { *; }
-keep class com.huanchengfly.tieba.post.plugins.** { *; } -keep class com.huanchengfly.tieba.post.plugins.** { *; }