Upgrade Gradle to 9.3.1#314
Merged
Merged
Conversation
Bump the Gradle wrapper from 8.8 to 9.3.1, matching the version used by
the main Besu build and adding Java 25 support.
Gradle 9 removed the legacy project-level sourceCompatibility/
targetCompatibility accessors used in the root build's allprojects
block, so move them into the java {} extension.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Contributor
There was a problem hiding this comment.
Pull request overview
Upgrades the project’s Gradle wrapper to 9.3.1 (aligning with Besu) and adjusts the root build configuration to the Gradle 9-compatible java {} DSL for setting Java compilation compatibility.
Changes:
- Bump Gradle wrapper distribution from 8.8 to 9.3.1.
- Regenerate/update wrapper launch scripts (
gradlew,gradlew.bat) to the newer Gradle template. - Move
sourceCompatibility/targetCompatibilityconfiguration into thejava {}extension in the rootbuild.gradle.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
gradlew.bat |
Updated Windows Gradle wrapper launcher script to the newer Gradle template. |
gradlew |
Updated POSIX Gradle wrapper launcher script to the newer Gradle template. |
gradle/wrapper/gradle-wrapper.properties |
Points wrapper distribution URL to Gradle 9.3.1. |
build.gradle |
Moves Java compatibility settings into java {} for Gradle 9 compatibility. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
macfarla
approved these changes
Jun 25, 2026
macfarla
left a comment
Contributor
There was a problem hiding this comment.
1 q from copilot but don't think it's a blocker either way
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
fab-10
enabled auto-merge (squash)
June 25, 2026 08:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump the Gradle wrapper from 8.8 to 9.3.1, matching the version used by the main Besu build and adding Java 25 support.
Gradle 9 removed the legacy project-level sourceCompatibility/ targetCompatibility accessors used in the root build's allprojects block, so move them into the java {} extension.