Skip to content
Permalink
Browse files

Update sample ProGuard config to mark fields instead of all members. (#…

  • Loading branch information...
donaldchai authored and inder123 committed May 9, 2019
1 parent f07fa51 commit 49d8630978f2e93c49d2955fb8cad9b3d19a1503
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/android-proguard-example/proguard.cfg
@@ -11,7 +11,7 @@
#-keep class com.google.gson.stream.** { *; }

# Application classes that will be serialized/deserialized over Gson
-keep class com.google.gson.examples.android.model.** { *; }
-keep class com.google.gson.examples.android.model.** { <fields>; }

# Prevent proguard from stripping interface information from TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)

0 comments on commit 49d8630

Please sign in to comment.
You can’t perform that action at this time.