Use import in build.gradle.kts
This commit is contained in:
parent
f19b0a9b11
commit
34cb35ffd5
@ -1,3 +1,4 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
|
||||||
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
|
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
|
||||||
import org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask
|
import org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask
|
||||||
|
|
||||||
@ -18,7 +19,7 @@ kotlin {
|
|||||||
|
|
||||||
linuxArm64()
|
linuxArm64()
|
||||||
|
|
||||||
@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
|
@OptIn(ExperimentalWasmDsl::class)
|
||||||
wasmJs {
|
wasmJs {
|
||||||
binaries.executable()
|
binaries.executable()
|
||||||
nodejs()
|
nodejs()
|
||||||
|
Loading…
Reference in New Issue
Block a user