Aggiunta esclusione classi JJWT dall'obfuscation
This commit is contained in:
parent
998a59cffc
commit
3a43e9238b
6
app/proguard-rules.pro
vendored
6
app/proguard-rules.pro
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user