File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
gradle-conventions/src/main/kotlin/util/targets Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ package util.targets
7
7
import io.gitlab.arturbosch.detekt.extensions.DetektExtension
8
8
import org.gradle.api.Action
9
9
import org.gradle.api.Project
10
- import org.gradle.jvm.toolchain.JavaLanguageVersion
11
10
import org.gradle.kotlin.dsl.the
12
11
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
13
12
import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
@@ -31,7 +30,9 @@ private fun KotlinMultiplatformExtension.configureTargets(config: KmpConfig): Li
31
30
if (config.js) {
32
31
js(IR ) {
33
32
nodejs()
34
- browser()
33
+ if (! config.kotlinMasterBuild) {
34
+ browser()
35
+ }
35
36
36
37
binaries.library()
37
38
}.also { targets.add(it) }
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ fun KmpConfig.configureWasm() {
24
24
wasmJs {
25
25
configureJsAndWasmJsTasks()
26
26
27
- browser()
27
+ if (! kotlinMasterBuild) {
28
+ browser()
29
+ }
30
+
28
31
nodejs()
29
32
if (wasmJsD8) {
30
33
// this platform needs some care KRPC-210
You can’t perform that action at this time.
0 commit comments