generated from rnentjes/kotlin-server-web-empty
Update Kotlin plugin, library version, and use experimental DSL
Updated the Kotlin Multiplatform plugin to version 2.1.20 and kotlin-komponent dependency to version 1.2.5. Added an opt-in annotation for the ExperimentalDistributionDsl to enable experimental features in the build script.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType
|
@file:OptIn(ExperimentalDistributionDsl::class)
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalDistributionDsl
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("multiplatform") version "2.1.0"
|
kotlin("multiplatform") version "2.1.20"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "nl.astraeus"
|
group = "nl.astraeus"
|
||||||
@@ -56,7 +58,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
val jsMain by getting {
|
val jsMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("nl.astraeus:kotlin-komponent:1.2.4")
|
implementation("nl.astraeus:kotlin-komponent:1.2.5")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jsTest by getting
|
val jsTest by getting
|
||||||
|
|||||||
Reference in New Issue
Block a user