mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-25 14:45:59 +03:00
Update Proguard rules
- Keep everything in Tachiyomi package (for extensions) - Remove SnakeYaml
This commit is contained in:
parent
bb7ed73743
commit
6c474daacd
1 changed files with 9 additions and 16 deletions
25
app/proguard-rules.pro
vendored
25
app/proguard-rules.pro
vendored
|
@ -1,8 +1,15 @@
|
||||||
-dontobfuscate
|
-dontobfuscate
|
||||||
|
|
||||||
|
# Extensions may require methods unused in the core app
|
||||||
-dontwarn eu.kanade.tachiyomi.**
|
-dontwarn eu.kanade.tachiyomi.**
|
||||||
-keep class eu.kanade.tachiyomi.**
|
-keep class eu.kanade.tachiyomi.** { public protected private *; }
|
||||||
-keep class eu.kanade.tachiyomi.source.model.** { *; }
|
|
||||||
|
-keep class org.jsoup.** { *; }
|
||||||
|
-keep class kotlin.** { *; }
|
||||||
|
-keep class okhttp3.** { *; }
|
||||||
|
-keep class com.google.gson.** { *; }
|
||||||
|
-keep class com.github.salomonbrys.kotson.** { *; }
|
||||||
|
-keep class com.squareup.duktape.** { *; }
|
||||||
|
|
||||||
# Design library
|
# Design library
|
||||||
-dontwarn com.google.android.material.**
|
-dontwarn com.google.android.material.**
|
||||||
|
@ -14,13 +21,6 @@
|
||||||
-keep interface com.hippo.image.** { *; }
|
-keep interface com.hippo.image.** { *; }
|
||||||
-dontwarn nucleus.view.NucleusActionBarActivity
|
-dontwarn nucleus.view.NucleusActionBarActivity
|
||||||
|
|
||||||
# Extensions may require methods unused in the core app
|
|
||||||
-keep class org.jsoup.** { *; }
|
|
||||||
-keep class kotlin.** { *; }
|
|
||||||
-keep class okhttp3.** { *; }
|
|
||||||
-keep class com.google.gson.** { *; }
|
|
||||||
-keep class com.github.salomonbrys.kotson.** { *; }
|
|
||||||
|
|
||||||
# OkHttp
|
# OkHttp
|
||||||
-dontwarn okhttp3.**
|
-dontwarn okhttp3.**
|
||||||
-dontwarn okio.**
|
-dontwarn okio.**
|
||||||
|
@ -69,10 +69,3 @@
|
||||||
-keep class * implements com.google.gson.TypeAdapterFactory
|
-keep class * implements com.google.gson.TypeAdapterFactory
|
||||||
-keep class * implements com.google.gson.JsonSerializer
|
-keep class * implements com.google.gson.JsonSerializer
|
||||||
-keep class * implements com.google.gson.JsonDeserializer
|
-keep class * implements com.google.gson.JsonDeserializer
|
||||||
|
|
||||||
# SnakeYaml
|
|
||||||
-keep class org.yaml.snakeyaml.** { public protected private *; }
|
|
||||||
-dontwarn org.yaml.snakeyaml.**
|
|
||||||
|
|
||||||
# Duktape
|
|
||||||
-keep class com.squareup.duktape.** { *; }
|
|
||||||
|
|
Loading…
Reference in a new issue