Skip to content

Commit

Permalink
Use Gradle's new daemon JVM criteria feature
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jun 4, 2024
1 parent 0fa69f3 commit 1e29d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#This file is generated by updateDaemonJvm
toolchainVersion=21
6 changes: 0 additions & 6 deletions gradle/plugins/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
val expectedJavaVersion = JavaVersion.VERSION_21
val actualJavaVersion = JavaVersion.current()
require(actualJavaVersion == expectedJavaVersion) {
"The JUnit 5 build must be executed with Java ${expectedJavaVersion.majorVersion}. Currently executing with Java ${actualJavaVersion.majorVersion}."
}

dependencyResolutionManagement {
versionCatalogs {
create("libs") {
Expand Down

0 comments on commit 1e29d8e

Please sign in to comment.