build.gradle.kts 614 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id("com.android.library")
  3. kotlin("android")
  4. }
  5. android {
  6. namespace = "tachiyomi.i18n"
  7. lint {
  8. disable.addAll(listOf("MissingTranslation", "ExtraTranslation"))
  9. }
  10. }
  11. tasks {
  12. val localesConfigTask = registerLocalesConfigTask(project)
  13. // Duplicating Hebrew string assets due to some locale code issues on different devices
  14. val copyHebrewStrings by registering(Copy::class) {
  15. from("./src/main/res/values-he")
  16. into("./src/main/res/values-iw")
  17. include("**/*")
  18. }
  19. preBuild {
  20. dependsOn(copyHebrewStrings, localesConfigTask)
  21. }
  22. }