Skip to content

Commit f3d0a41

Browse files
committed
Upgrade Gradle to 9.0.0, Kotlin to 2.2.10, and JVM compatibility to Java 17; add Kotest JUnit 5 runner dependency.
1 parent 0ab24f5 commit f3d0a41

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

kotest-jvm/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ repositories {
1010
mavenLocal()
1111
}
1212

13+
java {
14+
toolchain {
15+
languageVersion = JavaLanguageVersion.of(17)
16+
}
17+
}
18+
19+
tasks.test {
20+
useJUnitPlatform()
21+
}
22+
1323
kotlin {
1424

1525
compilerOptions {
@@ -21,6 +31,7 @@ kotlin {
2131
test {
2232
dependencies {
2333
implementation(libs.kotest.framework.engine)
34+
implementation(libs.kotest.runner.junit5)
2435
implementation(libs.kotest.assertions.core)
2536
}
2637
}

kotest-jvm/gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[versions]
22
kotest = "6.0.0"
3-
kotlin = "2.2.0"
3+
kotlin = "2.2.10"
44

55
[libraries]
66
kotest-assertions-core = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }
77
kotest-framework-engine = { module = "io.kotest:kotest-framework-engine", version.ref = "kotest" }
8+
kotest-runner-junit5 = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
89

910
[plugins]
1011
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)