Skip to content

Commit

Permalink
Update proguard.cfg (#1693)
Browse files Browse the repository at this point in the history
TypeAdapter is an abstract class, and R8 warns about this during the build.
  • Loading branch information
MariusVolkhart committed May 13, 2020
1 parent 1a9469a commit ceae88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/android-proguard-example/proguard.cfg
Expand Up @@ -15,7 +15,7 @@

# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * implements com.google.gson.TypeAdapter
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
Expand Down

0 comments on commit ceae88b

Please sign in to comment.