Skip to content

Commit 7fe606a

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Add other Darwin K/N targets
1 parent 3eb42d3 commit 7fe606a

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

core/build.gradle.kts

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,25 @@ mavenPublicationsPom {
1515

1616
kotlin {
1717
infra {
18-
target("macosX64")
19-
target("iosX64")
20-
target("iosArm64")
21-
target("iosArm32")
2218
target("linuxX64")
2319
target("mingwX64")
20+
21+
common("darwin") {
22+
target("macosX64")
23+
target("macosArm64")
24+
target("iosX64")
25+
target("iosArm64")
26+
target("iosArm32")
27+
target("iosSimulatorArm64")
28+
target("watchosArm32")
29+
target("watchosArm64")
30+
target("watchosX86")
31+
target("watchosX64")
32+
target("watchosSimulatorArm64")
33+
target("tvosArm64")
34+
target("tvosX64")
35+
target("tvosSimulatorArm64")
36+
}
2437
}
2538

2639
jvm {
@@ -97,11 +110,11 @@ kotlin {
97110
}
98111

99112
val nativeMain by getting {
100-
dependencies {
101-
102-
}
113+
dependsOn(commonMain.get())
114+
}
115+
val nativeTest by getting {
116+
dependsOn(commonTest.get())
103117
}
104-
105118
}
106119
}
107120

0 commit comments

Comments
 (0)