Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 0fbd478

Browse files
antpaglureau
authored andcommitted
Add SimulatorArm64 target for tvOS and watchOS
1 parent 98abfaf commit 0fbd478

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lib-coroutines/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ kotlin {
1010
ios()
1111
iosSimulatorArm64()
1212
tvos()
13+
tvosSimulatorArm64()
1314
watchos()
15+
watchosSimulatorArm64()
1416

1517
sourceSets {
1618
all {
@@ -23,6 +25,10 @@ kotlin {
2325
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
2426
}
2527
}
28+
val tvosMain by getting
29+
val tvosSimulatorArm64Main by getting { dependsOn(tvosMain)}
30+
val watchosMain by getting
31+
val watchosSimulatorArm64Main by getting { dependsOn(watchosMain)}
2632
}
2733

2834
targets.all {

lib/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ kotlin {
1010
ios()
1111
iosSimulatorArm64()
1212
tvos()
13+
tvosSimulatorArm64()
1314
watchos()
15+
watchosSimulatorArm64()
1416

1517
sourceSets {
1618
all {
1719
languageSettings.optIn("kotlin.RequiresOptIn")
1820
languageSettings.optIn("kotlin.js.ExperimentalJsExport")
1921
}
22+
val tvosMain by getting
23+
val tvosSimulatorArm64Main by getting { dependsOn(tvosMain)}
24+
val watchosMain by getting
25+
val watchosSimulatorArm64Main by getting { dependsOn(watchosMain)}
2026
}
2127

2228
targets.all {

0 commit comments

Comments
 (0)