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:
parent
5b7d2600c5
commit
9454e67a3f
1 changed files with 8 additions and 7 deletions
15
app/proguard-rules.pro
vendored
15
app/proguard-rules.pro
vendored
|
|
@ -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.**.* { *; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue