Address build warning in :i18n
And small cleanup (cherry picked from commit 4811cf07cdbf052dc3ddd2916e56ed81b6dc652a)
This commit is contained in:
parent
c5bd84473a
commit
8e91d40949
2 changed files with 10 additions and 3 deletions
|
|
@ -7,13 +7,16 @@ plugins {
|
|||
|
||||
kotlin {
|
||||
androidTarget()
|
||||
|
||||
applyDefaultHierarchyTemplate()
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
api(libs.moko.core)
|
||||
}
|
||||
}
|
||||
val androidMain by getting {
|
||||
androidMain {
|
||||
dependsOn(commonMain) // https://github.com/icerockdev/moko-resources/issues/562
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,14 +7,18 @@ plugins {
|
|||
|
||||
kotlin {
|
||||
androidTarget()
|
||||
|
||||
applyDefaultHierarchyTemplate()
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
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…
Reference in a new issue