Skip to content

Commit 2aaf180

Browse files
committed
build: enable all supported native targets
1 parent df834fc commit 2aaf180

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

build.gradle.kts

+27-2
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,36 @@ kotlin {
7777
nodejs()
7878
}
7979

80+
// Tier 1
81+
macosX64()
82+
macosArm64()
83+
iosSimulatorArm64()
84+
iosX64()
85+
iosArm64()
86+
87+
// Tier 2
8088
linuxX64()
8189
linuxArm64()
90+
watchosSimulatorArm64()
91+
watchosX64()
92+
watchosArm32()
93+
watchosArm64()
94+
tvosSimulatorArm64()
95+
tvosX64()
96+
tvosArm64()
97+
98+
// Tier 3
8299
mingwX64()
83-
macosX64()
84-
macosArm64()
100+
androidNativeArm32()
101+
androidNativeArm64()
102+
androidNativeX86()
103+
androidNativeX64()
104+
watchosDeviceArm64()
105+
106+
// Deprecated.
107+
// Should follow the same route as official Kotlin libraries
108+
@Suppress("DEPRECATION")
109+
linuxArm32Hfp()
85110

86111
sourceSets {
87112
commonTest {

gradle.properties

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ org.gradle.configuration-cache = true
1010
# Kotlin settings
1111
#########################
1212
kotlin.code.style = official
13+
14+
# Kotlin/Native
15+
kotlin.native.enableKlibsCrossCompilation = true

0 commit comments

Comments
 (0)