From e0f4f870868cb4d701b355b891dde8f30c7cc14e Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 22 Apr 2023 16:19:49 -0300 Subject: [PATCH] build: fix missing proguard rules --- mastodon/proguard-rules.pro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mastodon/proguard-rules.pro b/mastodon/proguard-rules.pro index d490d763a..06d834cd0 100644 --- a/mastodon/proguard-rules.pro +++ b/mastodon/proguard-rules.pro @@ -43,8 +43,11 @@ -keepattributes LineNumberTable -keepattributes * --keep class com.google.gson.reflect.TypeToken { *; } --keep class * extends com.google.gson.reflect.TypeToken { *; } +-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken +-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken + +-keep class javax.** { *; } +-keep class org.** { *; } # Parceler library -keep interface org.parceler.Parcel