2017-04-20 18:23:59 +02:00
|
|
|
# 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
|
2018-01-04 19:52:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
-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 *;
|
|
|
|
}
|
|
|
|
|
2018-01-13 07:52:07 +01:00
|
|
|
## for DexGuard only
|
|
|
|
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
|
2018-01-04 19:52:25 +01:00
|
|
|
|
2019-02-15 03:11:39 +01:00
|
|
|
-dontobfuscate
|
2021-05-22 00:03:16 +02:00
|
|
|
|
|
|
|
-keepattributes *Annotation*, InnerClasses
|
2023-02-01 19:07:26 +01:00
|
|
|
#-dontnote kotlinx.serialization.AnnotationsKt # core serialization annotations
|
2021-05-22 00:03:16 +02:00
|
|
|
|
|
|
|
# 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(...);
|
|
|
|
}
|
|
|
|
|
2021-06-23 06:14:25 +02:00
|
|
|
# jp.juggler.subwaytooter
|
2021-05-22 00:03:16 +02:00
|
|
|
-keep,includedescriptorclasses class jp.juggler.subwaytooter.**$$serializer { *; }
|
|
|
|
-keepclassmembers class jp.juggler.subwaytooter.** {
|
|
|
|
*** Companion;
|
|
|
|
}
|
|
|
|
-keepclasseswithmembers class jp.juggler.subwaytooter.** {
|
|
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
|
|
}
|
2023-02-01 19:07:26 +01:00
|
|
|
|
2023-02-08 10:55:49 +01:00
|
|
|
-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 { *; }
|
|
|
|
|
2023-02-01 19:07:26 +01:00
|
|
|
# keep everything
|
|
|
|
-keep class ** { *; }
|
|
|
|
-keepclassmembers class ** { *** Companion; }
|