* fix(deps): update moko to v0.24.1 * fix(deps): update moko to v0.24.1 (mihonapp/mihon#933) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> (cherry picked from commit f58a05e91828a69c01d49d629e5bfa9ec7ae3ffc) * Fix build for i18n-kmk & i18n-sy --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
45 lines
873 B
Text
45 lines
873 B
Text
plugins {
|
|
id("mihon.library")
|
|
id("dev.icerock.mobile.multiplatform-resources")
|
|
kotlin("multiplatform")
|
|
id("com.github.ben-manes.versions")
|
|
}
|
|
|
|
kotlin {
|
|
androidTarget()
|
|
|
|
applyDefaultHierarchyTemplate()
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api(libs.moko.core)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "tachiyomi.i18n.kmk"
|
|
|
|
sourceSets {
|
|
named("main") {
|
|
res.srcDir("src/commonMain/resources")
|
|
}
|
|
}
|
|
|
|
lint {
|
|
disable.addAll(listOf("MissingTranslation", "ExtraTranslation"))
|
|
}
|
|
}
|
|
|
|
multiplatformResources {
|
|
resourcesClassName.set("KMR")
|
|
resourcesPackage.set("tachiyomi.i18n.kmk")
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
"-Xexpect-actual-classes",
|
|
)
|
|
}
|