Upgrade build to: Kotlin 1.9.10, Gradle 8.x, JUnit 5.10.0

This commit is contained in:
Cristi Macoviciuc committed 2023-10-10 21:33:32 +02:00
1 parent 5c9cabfbad
commit 0fca6e8bac
5 files changed
+203 -143

No files matched your search

+7 -2
View File
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.10"
kotlin("jvm") version "1.9.10"
}
group = "com.gildedrose"
@@ -13,7 +13,7 @@ repositories {
dependencies {
implementation(kotlin("stdlib"))
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
}
tasks.test {
@@ -27,3 +27,8 @@ tasks.test {
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
}
// config java extension to same target version, to avoid build failure on Gradle 8.x
java {
targetCompatibility = JavaVersion.VERSION_1_8
}