Files
HouseProperty/app/proguard-rules.pro
renjianbo 39f1da9ca0 a
2026-01-09 16:09:42 +08:00

58 lines
1.7 KiB
Prolog

# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# ==================== Glide 图片加载库 ====================
# Glide 核心类
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public class * implements com.bumptech.glide.module.RegisterGlideModule
# Glide 解码相关
-keep class com.bumptech.glide.load.engine.DecodeJob {
*;
}
-keep class com.bumptech.glide.load.engine.bitmap_recycle.** {
*;
}
-keep class com.bumptech.glide.load.resource.bitmap.** {
*;
}
# Glide 错误处理
-keep class com.bumptech.glide.load.engine.GlideException {
*;
}
-keep class com.bumptech.glide.load.engine.GlideException$** {
*;
}
# Glide 数据加载
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}
# Glide 注解处理器
-keep class com.bumptech.glide.annotation.** {
*;
}