Add Gson proguard rules (stupid Gson...)
This fixes the problem with the Drafts section, and it should keep the TypeToken and superclasses types intact (who really knows). Fixes: https://todo.sr.ht/~captainepoch/husky/24
This commit is contained in:
parent
385831ed94
commit
168d559764
1 changed files with 5 additions and 0 deletions
5
husky/app/proguard-rules.pro
vendored
5
husky/app/proguard-rules.pro
vendored
|
@ -85,3 +85,8 @@ public void printStackTrace();
|
|||
static void checkExpressionValueIsNotNull(java.lang.Object, java.lang.String);
|
||||
static void throwUninitializedPropertyAccessException(java.lang.String);
|
||||
}
|
||||
|
||||
# Gson
|
||||
# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
|
||||
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
|
||||
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
|
||||
|
|
Loading…
Reference in a new issue