diff --git a/CHANGELOG.md b/CHANGELOG.md index c6a846d..7cff614 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] - yyyy-mm-dd ### Breaking changes +- Set target JVM version to 17 ([#106](https://github.com/personio/datadog-synthetic-test-support/pull/106)) ### New features & improvements diff --git a/build.gradle.kts b/build.gradle.kts index d63f696..fbaf126 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + plugins { val kotlinVersion = "1.8.22" id("org.jetbrains.kotlin.jvm") version kotlinVersion @@ -46,7 +48,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3") testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.3") testImplementation("org.mockito:mockito-inline:5.2.0") - testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0") + testImplementation("org.mockito.kotlin:mockito-kotlin:5.0.0") testImplementation("io.kotest:kotest-runner-junit5-jvm:5.6.2") } @@ -64,6 +66,11 @@ tasks { xml.outputLocation.set(buildDir.resolve("test-results/test/xml/jacocoReport.xml")) } } + withType { + kotlinOptions { + jvmTarget = "17" + } + } } val javadocJar by tasks.creating(Jar::class) {