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:
2025-04-11 19:38:06 +02:00
parent 4e6e6f2024
commit 9894f9d511

View File

@@ -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 {
kotlin("multiplatform") version "2.1.0"
kotlin("multiplatform") version "2.1.20"
}
group = "nl.astraeus"
@@ -56,7 +58,7 @@ kotlin {
}
val jsMain by getting {
dependencies {
implementation("nl.astraeus:kotlin-komponent:1.2.4")
implementation("nl.astraeus:kotlin-komponent:1.2.5")
}
}
val jsTest by getting