Skip to content

Commit

Permalink
upgrade to gradle 8.12 and drop older versions from the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
countableSet committed Jan 17, 2025
1 parent b5e1c4b commit 1c9e9d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,17 @@ java {
targetCompatibility = JavaVersion.VERSION_11
}

kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
}
}

tasks {
test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ class SemanticVersionPluginTest {
companion object {
@JvmStatic
private fun gradleVersions(): Stream<Arguments> = Stream.of(
Arguments.of("7.4.2"),
Arguments.of("7.5.1"),
Arguments.of("7.6.1"),
Arguments.of("8.1"),
Arguments.of("8.8")
Arguments.of("8.8"),
Arguments.of("8.12"),
)
}

Expand Down

0 comments on commit 1c9e9d0

Please sign in to comment.