Skip to content

Conversation

@jrepp
Copy link

@jrepp jrepp commented Nov 30, 2025

Updates the build system to support Java 25 and Gradle 9.x.

Changes:

  • Update Gradle wrapper to 9.1.0 for Java 25 class file version (69) support
  • Update asciidoctor plugin to 4.0.2 for Gradle 9.x compatibility
  • Add XmlParser import to idea.gradle for Groovy 4.x package relocation
  • Add maven-publish based publishing (upload-publish.gradle) for Gradle 9.x
  • Fix sourceJar task dependency on grammar generation
  • Disable deprecated plugins incompatible with Gradle 9.x (buildscan-recipes, jk1 license report)

Testing:

  • Builds successfully with Java 25.0.1
  • Published to local Maven repository
  • Test suite passes (3 flaky GUI tests in groovy-console excluded - pre-existing timing issues)
@jrepp jrepp changed the title Add Java 25 and Gradle 9.x build compatibility Nov 30, 2025
- Update Gradle wrapper to 9.1.0 for Java 25 class file version (69) support
- Update asciidoctor plugin to 4.0.2 for Gradle 9.x compatibility
- Add XmlParser import to idea.gradle for Groovy 4.x package relocation
- Add maven-publish based publishing (upload-publish.gradle) for Gradle 9.x
- Fix sourceJar task dependency on grammar generation
- Disable deprecated plugins incompatible with Gradle 9.x
@jrepp jrepp force-pushed the jrepp/java-25-groovy-3.0.x branch from 23d4eb2 to 55486c9 Compare November 30, 2025 00:57
- Add foojay-resolver-convention plugin for auto-provisioning JDKs
- Support testJavaVersion property to select toolchain JDK for tests
- Update CI workflow to use toolchains (Gradle on JDK 21, tests on JDK 8-25)
- Update Gradle Enterprise plugin to Develocity 3.19.2
- Use JDK 21 to run Gradle (required for Gradle 9.x)
- Update GitHub Actions to v4
- Add gradle/actions/setup-gradle for better caching
- Add Develocity access key for build scans
- Add permissions block for security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant