38 lines
1018 B
Prolog
38 lines
1018 B
Prolog
# Add project specific ProGuard rules here.
|
|
-keepattributes *Annotation*
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
# OkHttp
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
|
|
|
# Jsoup
|
|
-keep class org.jsoup.** { *; }
|
|
-dontwarn org.jsoup.**
|
|
|
|
# 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(android.os.ParcelFileDescriptor);
|
|
}
|
|
|
|
# Kotlin Coroutines
|
|
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
|
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
|
|
|
|
# Keep Parcelables
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
static ** CREATOR;
|
|
}
|
|
|
|
# Keep Models
|
|
-keep class com.example.tvmon.data.model.** { *; }
|