Address build warning in :i18n
And small cleanup (cherry picked from commit 4811cf07cdbf052dc3ddd2916e56ed81b6dc652a)
This commit is contained in:
parent
293fb7597c
commit
fec9f1f10c
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user