Skip to content

Commit

Permalink
Update consumer-rules.pro (#1040)
Browse files Browse the repository at this point in the history
GSON's TypeAdapter is an abstract class, not an interface.

Co-authored-by: Brian Melton-Grace <brianmel@microsoft.com>
  • Loading branch information
MariusVolkhart and iambmelt committed May 13, 2020
1 parent 2d6dbdf commit e2c7b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msal/consumer-rules.pro
Expand Up @@ -39,7 +39,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 e2c7b13

Please sign in to comment.