diff --git a/app/proguard-rules.txt b/app/proguard-rules.txt index 63981633b..21c584ba9 100644 --- a/app/proguard-rules.txt +++ b/app/proguard-rules.txt @@ -66,6 +66,9 @@ # Application classes that will be serialized/deserialized over Gson -keep class com.google.gson.examples.android.model.** { *; } +# Prevent R8 from obfuscating project classes used by Gson for parsing +-keep class fr.free.nrw.commons.fileusages.** { *; } + # Prevent proguard from stripping interface information from TypeAdapterFactory, # JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter) -keep class * implements com.google.gson.TypeAdapterFactory