From a46ca7ddb8e3a71fd326f68930fee1e7aa69e7fc Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 18 Nov 2022 11:55:36 +0300 Subject: [PATCH] 1.8.0-Beta --- gradle/libs.versions.toml | 4 ++-- src/main/kotlin/space/kscience/gradle/KScienceExtension.kt | 4 ++-- src/main/kotlin/space/kscience/gradle/commonConfigurations.kt | 4 ++-- src/main/kotlin/space/kscience/gradle/internal/common.kt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0fab2df..38eac58 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] -tools = "0.13.3-kotlin-1.7.20" -kotlin = "1.7.20" +tools = "0.13.3-kotlin-1.8.0-Beta" +kotlin = "1.8.0-Beta" atomicfu = "0.18.5" binary-compatibility-validator = "0.12.1" changelog = "2.0.0" diff --git a/src/main/kotlin/space/kscience/gradle/KScienceExtension.kt b/src/main/kotlin/space/kscience/gradle/KScienceExtension.kt index d66b0dc..955c369 100644 --- a/src/main/kotlin/space/kscience/gradle/KScienceExtension.kt +++ b/src/main/kotlin/space/kscience/gradle/KScienceExtension.kt @@ -178,13 +178,13 @@ public open class KScienceExtension(public val project: Project) { } project.extensions.findByType()?.apply { - js { + js(IR) { binaries.executable() } } project.extensions.findByType()?.apply { - js { + js(IR) { binaries.executable() } diff --git a/src/main/kotlin/space/kscience/gradle/commonConfigurations.kt b/src/main/kotlin/space/kscience/gradle/commonConfigurations.kt index a948ed0..7d9fc70 100644 --- a/src/main/kotlin/space/kscience/gradle/commonConfigurations.kt +++ b/src/main/kotlin/space/kscience/gradle/commonConfigurations.kt @@ -85,7 +85,7 @@ public fun Project.configureKScience( browser { commonWebpackConfig { cssSupport { - enabled = true + enabled.set(true) } } } @@ -133,7 +133,7 @@ public fun Project.configureKScience( browser { commonWebpackConfig { cssSupport { - enabled = true + enabled.set(true) } } } diff --git a/src/main/kotlin/space/kscience/gradle/internal/common.kt b/src/main/kotlin/space/kscience/gradle/internal/common.kt index 864e613..718fb15 100644 --- a/src/main/kotlin/space/kscience/gradle/internal/common.kt +++ b/src/main/kotlin/space/kscience/gradle/internal/common.kt @@ -55,7 +55,7 @@ internal fun Copy.fromJsDependencies(configurationName: String) = project.run { } internal fun KotlinMultiplatformExtension.bundleJsBinaryAsResource(bundleName: String = "js/bundle.js") { - js { + js(IR) { binaries.executable() browser { webpackTask {