Aggiunta esclusione classi JJWT dall'obfuscation

This commit is contained in:
Giuseppe Scorrano 2025-09-05 11:00:48 +02:00
parent 998a59cffc
commit 3a43e9238b

View File

@ -34,6 +34,12 @@
<init>(...);
@com.google.gson.annotations.SerializedName <fields>;
}
# Per JJWT
-keep class io.jsonwebtoken.** { *; }
-keepnames class io.jsonwebtoken.* { *; }
-keepnames interface io.jsonwebtoken.* { *; }
# 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