Update ProGuard config

Fix error in rules that basically disabled class removal,
add rule to keep class and attribute names
This commit is contained in:
Maxr1998 2020-11-21 13:51:28 +01:00
commit 9454e67a3f
No known key found for this signature in database
GPG key ID: 3BA0CD3A11CDF7B8

View file

@ -1,7 +1,14 @@
-dontwarn
-ignorewarnings
# RetroFit
-keep class com.dkanada.gramophone.**.* { *; } # Keep all Gelli classes and attributes
-keepnames class **.* { *; } # Keep class and attribute names
-keepattributes SourceFile,LineNumberTable # Keep file names/line numbers
# Jellyfin API
-keepclasseswithmembers class org.jellyfin.apiclient.model.**.* { *; }
# Retrofit
-dontwarn retrofit.**
-keep class retrofit.**.* { *; }
-keepattributes Signature
@ -14,9 +21,3 @@
**[] $VALUES;
public *;
}
# Android
-keep class !android.support.v7.internal.view.menu.**.*,**.* { *; }
# Jellyfin API
-keepclasseswithmembers class org.jellyfin.apiclient.model.**.* { *; }