aniyomi/i18n/build.gradle.kts
LuftVerbot e2b2a7944b merge7
Last Commit Merged: b53e24e0db
2023-05-23 22:37:41 +02:00

27 lines
614 B
Text

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)
}
}