Address build warning in :i18n

And small cleanup

(cherry picked from commit 4811cf07cdbf052dc3ddd2916e56ed81b6dc652a)
This commit is contained in:
AntsyLich 2024-01-29 14:13:55 +06:00 committed by Jobobby04
parent 293fb7597c
commit fec9f1f10c
2 changed files with 10 additions and 3 deletions

View File

@ -7,13 +7,16 @@ plugins {
kotlin { kotlin {
androidTarget() androidTarget()
applyDefaultHierarchyTemplate()
sourceSets { sourceSets {
val commonMain by getting { val commonMain by getting {
dependencies { dependencies {
api(libs.moko.core) api(libs.moko.core)
} }
} }
val androidMain by getting { androidMain {
dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562 dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562
} }
} }

View File

@ -7,14 +7,18 @@ plugins {
kotlin { kotlin {
androidTarget() androidTarget()
applyDefaultHierarchyTemplate()
sourceSets { sourceSets {
val commonMain by getting { val commonMain by getting {
dependencies { dependencies {
api(libs.moko.core) api(libs.moko.core)
} }
} }
val androidMain by getting {
dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562 androidMain {
dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562
} }
} }
} }