mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 08:55:07 +01:00
28 lines
614 B
Plaintext
28 lines
614 B
Plaintext
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
}
|
|
|
|
android {
|
|
namespace = "tachiyomi.i18n"
|
|
|
|
lint {
|
|
disable.addAll(listOf("MissingTranslation", "ExtraTranslation"))
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
val localesConfigTask = registerLocalesConfigTask(project)
|
|
|
|
// Duplicating Hebrew string assets due to some locale code issues on different devices
|
|
val copyHebrewStrings by registering(Copy::class) {
|
|
from("./src/main/res/values-he")
|
|
into("./src/main/res/values-iw")
|
|
include("**/*")
|
|
}
|
|
|
|
preBuild {
|
|
dependsOn(copyHebrewStrings, localesConfigTask)
|
|
}
|
|
}
|