Retain generic signature of TypeToken with R8 version 3.0 and higher
This commit is contained in:
parent
25f47f87a5
commit
d3a75cb569
|
@ -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