# Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in C:\android\sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # 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 -keep public class * implements com.bumptech.glide.module.GlideModule -keep public class * extends com.bumptech.glide.module.AppGlideModule -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** { **[] $VALUES; public *; } ## for DexGuard only #-keepresourcexmlelements manifest/application/meta-data@value=GlideModule -dontobfuscate -keepattributes *Annotation*, InnerClasses #-dontnote kotlinx.serialization.AnnotationsKt # core serialization annotations # kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer -keepclassmembers class kotlinx.serialization.json.** { *** Companion; } -keepclasseswithmembers class kotlinx.serialization.json.** { kotlinx.serialization.KSerializer serializer(...); } # jp.juggler.subwaytooter -keep,includedescriptorclasses class jp.juggler.subwaytooter.**$$serializer { *; } -keepclassmembers class jp.juggler.subwaytooter.** { *** Companion; } -keepclasseswithmembers class jp.juggler.subwaytooter.** { kotlinx.serialization.KSerializer serializer(...); } -keep public class com.bumptech.glide.integration.webp.WebpImage { *; } -keep public class com.bumptech.glide.integration.webp.WebpFrame { *; } -keep public class com.bumptech.glide.integration.webp.WebpBitmapFactory { *; } # keep everything -keep class ** { *; } -keepclassmembers class ** { *** Companion; }