This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
tachiyomi/i18n/build.gradle.kts

28 lines
614 B
Text
Raw Normal View History

plugins {
id("com.android.library")
kotlin("android")
}
android {
2023-01-22 15:37:13 +00:00
namespace = "tachiyomi.i18n"
2022-10-05 13:26:42 +00:00
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)
}
}