Skip to content

Upgrade Gradle to 9.3.1#314

Merged
fab-10 merged 2 commits into
besu-eth:mainfrom
fab-10:gradle-9.3.1
Jun 25, 2026
Merged

Upgrade Gradle to 9.3.1#314
fab-10 merged 2 commits into
besu-eth:mainfrom
fab-10:gradle-9.3.1

Conversation

@fab-10

@fab-10 fab-10 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

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.

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>
@fab-10
fab-10 marked this pull request as ready for review June 24, 2026 19:29
Copilot AI review requested due to automatic review settings June 24, 2026 19:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/targetCompatibility configuration into the java {} extension in the root build.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.

Comment thread gradlew Outdated

@macfarla macfarla left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
fab-10 enabled auto-merge (squash) June 25, 2026 08:12
@fab-10
fab-10 merged commit e6f10f4 into besu-eth:main Jun 25, 2026
12 checks passed
@fab-10
fab-10 deleted the gradle-9.3.1 branch June 25, 2026 12:13
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.

3 participants