Proguard rule update.

This commit is contained in:
Thomas Andres Gomez 2023-04-06 13:25:10 +02:00
parent 35d27534df
commit 4be9b70de3
2 changed files with 8 additions and 4 deletions

View file

@ -14,18 +14,16 @@
# Uncomment this to preserve the line number information for
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
# If you keep the line number information, uncomment this to
# hide the original source file name.
-renamesourcefileattribute SourceFile
# For SerializedName
-keepattributes *Annotation*
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}
-keep,allowobfuscation @interface com.google.gson.annotations.SerializedName