Skip to content

Commit

Permalink
Force Gradle to use JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Sep 16, 2024
1 parent bfa566a commit f05138b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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
4 changes: 0 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
rootProject.name = "apiguardian-api"

require(JavaVersion.current().isJava11) {
"The @API Guardian build requires Java 11. Currently executing with Java ${JavaVersion.current()}."
}

0 comments on commit f05138b

Please sign in to comment.