diff --git a/project-plugins/src/main/kotlin/net/devrieze/gradle/ext/nativeTargets.kt b/project-plugins/src/main/kotlin/net/devrieze/gradle/ext/nativeTargets.kt index 88c75e0d1..cae008bf6 100644 --- a/project-plugins/src/main/kotlin/net/devrieze/gradle/ext/nativeTargets.kt +++ b/project-plugins/src/main/kotlin/net/devrieze/gradle/ext/nativeTargets.kt @@ -30,7 +30,6 @@ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.plugin.* import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget -import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeHostTest import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest import org.jetbrains.kotlin.konan.target.HostManager @@ -132,7 +131,7 @@ private val defaultXmlUtilHierarchyTemplate = KotlinHierarchyTemplate { val Project.nativeState: NativeState get() = rootProject.extraProperties["nativeTargets"] as NativeState -@OptIn(ExperimentalWasmDsl::class) +@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class) fun Project.addNativeTargets(includeWasm: Boolean = true, includeWasi: Boolean = true) { val ideaActive = System.getProperty("idea.active") == "true" val nativeState = when(property("native.deploy")?.toString()?.lowercase()) {