@@ -14,51 +14,32 @@ kotlin {
1414 kotlinOptions.jvmTarget = " 11"
1515 }
1616 }
17- android()
18- iosX64()
17+ androidTarget()
1918 iosArm64()
2019 iosSimulatorArm64()
20+ applyDefaultHierarchyTemplate()
2121 sourceSets {
22- val commonMain by getting {
23- dependencies {
24- implementation(project(" :shared" ))
25- implementation(compose.ui)
26- implementation(compose.runtime)
27- implementation(compose.foundation)
28- implementation(compose.material3)
29- implementation(compose.materialIconsExtended)
30- implementation(libs.decompose)
31- implementation(libs.decompose.extComposeJb)
32- implementation(libs.koin.core)
33- api(libs.mokoResources.compose)
34- }
22+ commonMain.dependencies {
23+ implementation(project(" :shared" ))
24+ implementation(compose.ui)
25+ implementation(compose.runtime)
26+ implementation(compose.foundation)
27+ implementation(compose.material3)
28+ implementation(compose.materialIconsExtended)
29+ implementation(libs.decompose)
30+ implementation(libs.decompose.extComposeJb)
31+ implementation(libs.koin.core)
32+ api(libs.mokoResources.compose)
3533 }
36- val androidMain by getting {
37- dependencies {
38- implementation(libs.koin.androidx.compose)
39- }
34+ androidMain.dependencies {
35+ implementation(libs.koin.androidx.compose)
4036 }
41- val jvmMain by getting {
42- dependencies {
43- implementation(libs.koin.core.jvm)
44- }
37+ jvmMain.dependencies {
38+ implementation(libs.koin.core.jvm)
4539 }
46- val jvmTest by getting {
47- dependencies {
48- implementation(kotlin(" test" ))
49- implementation(compose.desktop.uiTestJUnit4)
50- }
51- }
52- val iosX64Main by getting
53- val iosArm64Main by getting
54- val iosSimulatorArm64Main by getting
55- val iosMain by creating {
56- dependsOn(commonMain)
57- iosX64Main.dependsOn(this )
58- iosArm64Main.dependsOn(this )
59- iosSimulatorArm64Main.dependsOn(this )
60- dependencies {
61- }
40+ jvmTest.dependencies {
41+ implementation(kotlin(" test" ))
42+ implementation(compose.desktop.uiTestJUnit4)
6243 }
6344 all {
6445 languageSettings.optIn(" kotlin.RequiresOptIn" )
0 commit comments