Remove js support

pull/1323/head
lihenggui 2 years ago
parent 9812871847
commit 8bc97082fb

@ -37,20 +37,21 @@ internal fun Project.configureKotlinMultiplatform() {
jvm()
androidTarget()
js {
browser {
testTask {
useKarma {
useChromeHeadless()
}
}
}
compilations.configureEach {
kotlinOptions {
moduleKind = "umd"
}
}
}
// UninitializedPropertyAccessException: lateinit property newsResourceDao has not been initialized
// js {
// browser {
// testTask {
// useKarma {
// useChromeHeadless()
// }
// }
// }
// compilations.configureEach {
// kotlinOptions {
// moduleKind = "umd"
// }
// }
// }
// tier 1
linuxX64()

@ -70,3 +70,14 @@ sqldelight {
}
}
}
// Workaround yarn concurrency issue - https://youtrack.jetbrains.com/issue/KT-43320
tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask>()
.configureEach {
args.addAll(
listOf(
"--mutex",
"file:${file("../build/.yarn-mutex")}",
),
)
}

Loading…
Cancel
Save