TachiyomiSY-Plus/i18n/build.gradle.kts
Andreas 888d1f0983 Move shared configuration to subprojects in root Gradle file (#8951)
* Move shared configuration to subprojects in root Gradle file

* Missed but not forgotten

* Review changes

(cherry picked from commit 2b5d9fd76b9b7b629921bc793553cd4a571eda00)

# Conflicts:
#	app/build.gradle.kts
#	i18n/build.gradle.kts
2023-02-07 16:12:31 -05:00

29 lines
664 B
Plaintext

plugins {
id("com.android.library")
kotlin("android")
id("com.github.ben-manes.versions")
}
android {
namespace = "eu.kanade.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)
}
}