SubwayTooter-Android-App/app/proguard-rules.pro

68 lines
2.4 KiB
Prolog
Raw Normal View History

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
-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
-dontobfuscate
-keepattributes *Annotation*, InnerClasses
2023-02-01 19:07:26 +01:00
#-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(...);
}
2021-06-23 06:14:25 +02:00
# 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(...);
}
2023-02-01 19:07:26 +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; }