diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 118ed6d..ad4d845 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ apiguardian = "1.1.2" junit-jupiter = "5.11.3" assertJ = '3.26.3' -kotlin = '2.0.21' +kotlin = '2.1.0' #opentest4j = '1.3.0' #archunit = '1.3.0' #mockito = '5.14.2' @@ -13,6 +13,7 @@ junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "jun assertj-core = { module = "org.assertj:assertj-core", version.ref = "assertJ" } kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } kotlin-test-junit5 = { module = "org.jetbrains.kotlin:kotlin-test-junit5", version.ref = "kotlin" } + # Used in gradle plugins build.gradle.kts: kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } kotlin-powerAssertPlugin = { module = "org.jetbrains.kotlin:kotlin-power-assert", version.ref = "kotlin" } diff --git a/gradle/plugins/src/main/kotlin/buildlogic.kotlin-library-conventions.gradle.kts b/gradle/plugins/src/main/kotlin/buildlogic.kotlin-library-conventions.gradle.kts index 3e63082..aab447e 100644 --- a/gradle/plugins/src/main/kotlin/buildlogic.kotlin-library-conventions.gradle.kts +++ b/gradle/plugins/src/main/kotlin/buildlogic.kotlin-library-conventions.gradle.kts @@ -5,7 +5,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { `java-library` id("buildlogic.publish-library") - id("kotlin") + kotlin("jvm") kotlin("plugin.power-assert") }