Update proguard-rules.pro
This commit is contained in:
parent
4335a847ce
commit
e10f5c161f
3 changed files with 43 additions and 28 deletions
14
app/proguard-rules.pro
vendored
14
app/proguard-rules.pro
vendored
|
|
@ -14,8 +14,18 @@
|
|||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
-renamesourcefileattribute SourceFile
|
||||
|
||||
# For SerializedName
|
||||
|
||||
-keepattributes *Annotation*
|
||||
|
||||
-keepclassmembers,allowobfuscation class * {
|
||||
@com.google.gson.annotations.SerializedName <fields>;
|
||||
}
|
||||
|
||||
-keep,allowobfuscation @interface com.google.gson.annotations.SerializedName
|
||||
Loading…
Add table
Add a link
Reference in a new issue