Skip to content

Commit f74bfba

Browse files
author
Abduqodiri Qurbonzoda
committed
Add other K/N targets support to runtime
1 parent 587423e commit f74bfba

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

runtime/build.gradle

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,25 @@ repositories {
88

99
kotlin {
1010
infra {
11-
target('macosX64')
1211
target('linuxX64')
1312
target('mingwX64')
13+
14+
common("darwin") {
15+
target("macosX64")
16+
target("macosArm64")
17+
target("iosX64")
18+
target("iosArm64")
19+
target("iosArm32")
20+
target("iosSimulatorArm64")
21+
target("watchosArm32")
22+
target("watchosArm64")
23+
target("watchosX86")
24+
target("watchosX64")
25+
target("watchosSimulatorArm64")
26+
target("tvosArm64")
27+
target("tvosX64")
28+
target("tvosSimulatorArm64")
29+
}
1430
}
1531

1632
jvm {
@@ -30,8 +46,6 @@ kotlin {
3046
resources.srcDirs = ["$it.name/resources"]
3147
languageSettings {
3248
progressiveMode = true
33-
useExperimentalAnnotation("kotlin.Experimental")
34-
useExperimentalAnnotation('kotlin.ExperimentalUnsignedTypes')
3549
}
3650
}
3751

@@ -64,9 +78,7 @@ kotlin {
6478
}
6579

6680
nativeMain {
67-
dependsOn commonMain
68-
dependencies {
69-
}
81+
dependsOn(commonMain)
7082
}
7183
}
7284
}

0 commit comments

Comments
 (0)