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

62 lines
2.1 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 class com.bumptech.glide.GeneratedAppGlideModuleImpl
-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
-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(...);
}