|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi |
|
|
|
|
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl |
|
|
|
|
|
|
|
|
|
plugins { |
|
|
|
|
kotlin("multiplatform") |
|
|
|
@ -23,9 +24,11 @@ kotlin {
|
|
|
|
|
iosSimulatorArm64() |
|
|
|
|
js { |
|
|
|
|
browser { |
|
|
|
|
testTask(Action { |
|
|
|
|
enabled = false |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@OptIn(ExperimentalWasmDsl::class) |
|
|
|
|
wasmJs { |
|
|
|
|
browser { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
macosX64() |
|
|
|
@ -51,3 +54,10 @@ configureMavenPublication(
|
|
|
|
|
name = "Experimental Compose Multiplatform tooling library API. This library provides the API required to declare " + |
|
|
|
|
"@Preview composables in user apps." |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
afterEvaluate { |
|
|
|
|
// TODO(o.k.): remove this after we refactor jsAndWasmMain source set in skiko to get rid of broken "common" js-interop |
|
|
|
|
tasks.configureEach { |
|
|
|
|
if (name == "compileWebMainKotlinMetadata") enabled = false |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|