Skip to content

Commit a181b8a

Browse files
authored
Support android native targets and wasm-wasi (#288)
* Enable android native targets * Enable wasm-wasi
1 parent 363b34e commit a181b8a

File tree

3 files changed

+224
-170
lines changed

3 files changed

+224
-170
lines changed

build.gradle.kts

+13
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@ kotlin {
108108
pom { name = "${project.name}-wasm-js" }
109109
}
110110
}
111+
@OptIn(ExperimentalWasmDsl::class)
112+
wasmWasi {
113+
nodejs()
114+
115+
mavenPublication {
116+
groupId = group as String
117+
pom { name = "${project.name}-wasm-wasi" }
118+
}
119+
}
111120

112121
mingwX64()
113122
linuxX64()
@@ -125,6 +134,10 @@ kotlin {
125134
tvosSimulatorArm64()
126135
macosX64()
127136
macosArm64()
137+
androidNativeArm32()
138+
androidNativeArm64()
139+
androidNativeX86()
140+
androidNativeX64()
128141

129142
@OptIn(ExperimentalKotlinGradlePluginApi::class)
130143
applyDefaultHierarchyTemplate {

0 commit comments

Comments
 (0)