mirror of
https://github.com/kalarina-bit/Sparkledns.git
synced 2026-11-22 07:36:09 +00:00
Package only the app's own languages
Library translations for other languages made up a large part of resources.arsc while the app shows English in those languages anyway.
This commit is contained in:
@@ -27,6 +27,12 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
androidResources {
|
||||||
|
// Only the languages the app itself is translated to; library strings for other
|
||||||
|
// languages were unused weight, as the app falls back to English there anyway
|
||||||
|
localeFilters += listOf("en", "de", "ja", "lt", "ru", "zh")
|
||||||
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
|||||||
Reference in New Issue
Block a user