kotlin 1.9.0-Beta
This commit is contained in:
parent
021f78c510
commit
4238dc5a43
@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
tools = "0.14.9-kotlin-1.8.20"
|
tools = "0.14.9-kotlin-1.9.0-Beta"
|
||||||
kotlin = "1.8.20"
|
kotlin = "1.9.0-Beta"
|
||||||
atomicfu = "0.20.2"
|
atomicfu = "0.20.2"
|
||||||
binary-compatibility-validator = "0.13.1"
|
binary-compatibility-validator = "0.13.1"
|
||||||
changelog = "2.0.0"
|
changelog = "2.0.0"
|
||||||
|
@ -425,7 +425,7 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
|
|||||||
|
|
||||||
@OptIn(ExperimentalWasmDsl::class)
|
@OptIn(ExperimentalWasmDsl::class)
|
||||||
public fun wasm(block: KotlinWasmTargetDsl.() -> Unit = {}) {
|
public fun wasm(block: KotlinWasmTargetDsl.() -> Unit = {}) {
|
||||||
if(project.requestPropertyOrNull("kscience.wasm.disabled") == "true"){
|
if (project.requestPropertyOrNull("kscience.wasm.disabled") == "true") {
|
||||||
project.logger.warn("Wasm target is disabled with 'kscience.wasm.disabled' property")
|
project.logger.warn("Wasm target is disabled with 'kscience.wasm.disabled' property")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -473,7 +473,7 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
|
|||||||
binaries.executable()
|
binaries.executable()
|
||||||
browser {
|
browser {
|
||||||
webpackTask {
|
webpackTask {
|
||||||
outputFileName = bundleName
|
mainOutputFileName.set(bundleName)
|
||||||
}
|
}
|
||||||
browserConfig()
|
browserConfig()
|
||||||
}
|
}
|
||||||
@ -560,6 +560,14 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
|
|||||||
}
|
}
|
||||||
|
|
||||||
configure(nativeTargets) {
|
configure(nativeTargets) {
|
||||||
|
|
||||||
|
//TODO remove after https://youtrack.jetbrains.com/issue/KT-58837
|
||||||
|
compilations.configureEach {
|
||||||
|
compilerOptions.configure {
|
||||||
|
freeCompilerArgs.add("-Xpartial-linkage=disable")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
compilations["main"]?.apply {
|
compilations["main"]?.apply {
|
||||||
configure(kotlinSourceSets) {
|
configure(kotlinSourceSets) {
|
||||||
dependsOn(nativeMain)
|
dependsOn(nativeMain)
|
||||||
|
Loading…
Reference in New Issue
Block a user