From ceae88bd6667f4263bbe02e6b3710b8a683906a2 Mon Sep 17 00:00:00 2001 From: Marius Volkhart Date: Wed, 13 May 2020 21:49:59 +0200 Subject: [PATCH] Update proguard.cfg (#1693) TypeAdapter is an abstract class, and R8 warns about this during the build. --- examples/android-proguard-example/proguard.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android-proguard-example/proguard.cfg b/examples/android-proguard-example/proguard.cfg index 1a932cb9..e0e0a97f 100644 --- a/examples/android-proguard-example/proguard.cfg +++ b/examples/android-proguard-example/proguard.cfg @@ -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