Merge pull request #109 from Maxr1998/proguard

Update ProGuard config
This commit is contained in:
dkanada 2020-11-25 21:57:22 +09:00 committed by GitHub
commit d19d999db9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,13 @@
-dontwarn -dontwarn
-ignorewarnings -ignorewarnings
-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 # RetroFit
-dontwarn retrofit.** -dontwarn retrofit.**
-keep class retrofit.**.* { *; } -keep class retrofit.**.* { *; }
@ -14,9 +21,3 @@
**[] $VALUES; **[] $VALUES;
public *; public *;
} }
# Android
-keep class !android.support.v7.internal.view.menu.**.*,**.* { *; }
# Jellyfin API
-keepclasseswithmembers class org.jellyfin.apiclient.model.**.* { *; }