Skip to content

Require Java 17 and build with a Java 25 toolchain - #209

Merged
andimarek merged 4 commits into
masterfrom
use-java-17
Nov 3, 2026
Merged

andimarek merged 4 commits into
masterfrom
use-java-17

Conversation

@bbakerman

@bbakerman bbakerman commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Raise the minimum runtime from Java 11 to Java 17 while building with a Java 25 toolchain. Java compilation uses --release 17, and Groovy test compilation targets Java 17.

Add the Foojay resolver to provision missing toolchains, retain Gradle 9.8.2 and Bnd 7.4.0 from master, and run the PR, master, and release workflows on JDK 25. Document the Java 17 runtime requirement and JDK 25 build toolchain in the README.

Update the test dependencies to Spock 2.4-groovy-5.0 and Apache Groovy 5.1.1, matching GraphQL Java.

Validation:

  • Clean build and publication metadata generation on JDK 25: all 1,118 tests passed, with none skipped.
  • Reused the compiled test suite on JDK 17 through a temporary Gradle init script: all 1,118 tests passed, with none skipped.
  • All 68 production class files have Java 17 bytecode (major version 61); Gradle publication variants and the OSGi execution requirement also specify Java 17.

@andimarek andimarek changed the title require Java 17 Require Java 17 and build with a Java 25 toolchain Nov 3, 2026
@andimarek
andimarek merged commit 483f466 into master Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants