continue to try to add wasm target

This commit is contained in:
2024-08-29 14:13:02 +06:00
parent 4ccc5b6a64
commit ef75d82244
12 changed files with 304 additions and 0 deletions

View File

@@ -29,6 +29,11 @@ kotlin {
linuxX64()
mingwX64()
linuxArm64()
wasm {
browser()
nodejs()
d8()
}
sourceSets {
commonMain {
@@ -57,6 +62,10 @@ kotlin {
mingwX64Main.dependsOn nativeMain
linuxArm64Main.dependsOn nativeMain
if (hasProperty("wasmDependsOnJs") && wasmDependsOnJs == true) {
wasmJs.dependsOn jsMain
}
androidMain.dependsOn jvmMain
}
}