1.8.0-Beta

This commit is contained in:
Alexander Nozik 2022-11-18 11:55:36 +03:00
parent c9440e7fc9
commit a46ca7ddb8
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
4 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[versions] [versions]
tools = "0.13.3-kotlin-1.7.20" tools = "0.13.3-kotlin-1.8.0-Beta"
kotlin = "1.7.20" kotlin = "1.8.0-Beta"
atomicfu = "0.18.5" atomicfu = "0.18.5"
binary-compatibility-validator = "0.12.1" binary-compatibility-validator = "0.12.1"
changelog = "2.0.0" changelog = "2.0.0"

View File

@ -178,13 +178,13 @@ public open class KScienceExtension(public val project: Project) {
} }
project.extensions.findByType<KotlinJsProjectExtension>()?.apply { project.extensions.findByType<KotlinJsProjectExtension>()?.apply {
js { js(IR) {
binaries.executable() binaries.executable()
} }
} }
project.extensions.findByType<KotlinMultiplatformExtension>()?.apply { project.extensions.findByType<KotlinMultiplatformExtension>()?.apply {
js { js(IR) {
binaries.executable() binaries.executable()
} }

View File

@ -85,7 +85,7 @@ public fun Project.configureKScience(
browser { browser {
commonWebpackConfig { commonWebpackConfig {
cssSupport { cssSupport {
enabled = true enabled.set(true)
} }
} }
} }
@ -133,7 +133,7 @@ public fun Project.configureKScience(
browser { browser {
commonWebpackConfig { commonWebpackConfig {
cssSupport { cssSupport {
enabled = true enabled.set(true)
} }
} }
} }

View File

@ -55,7 +55,7 @@ internal fun Copy.fromJsDependencies(configurationName: String) = project.run {
} }
internal fun KotlinMultiplatformExtension.bundleJsBinaryAsResource(bundleName: String = "js/bundle.js") { internal fun KotlinMultiplatformExtension.bundleJsBinaryAsResource(bundleName: String = "js/bundle.js") {
js { js(IR) {
binaries.executable() binaries.executable()
browser { browser {
webpackTask { webpackTask {