Merge pull request #1930 from christofferqa/keep_typetoken
Retain generic signature of TypeToken with R8 version 3.0 and higher
This commit is contained in:
commit
789818d180
|
@ -25,4 +25,8 @@
|
|||
@com.google.gson.annotations.SerializedName <fields>;
|
||||
}
|
||||
|
||||
# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
|
||||
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
|
||||
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
|
||||
|
||||
##---------------End: proguard configuration for Gson ----------
|
||||
|
|
Loading…
Reference in New Issue
Block a user