Skip to content

Conversation

@rabestro
Copy link
Member

@rabestro rabestro commented Dec 16, 2025

pull request

Update all Gradle wrappers across the Java track to a version that supports Java 25 and add a helper script to keep wrappers consistent going forward.

  • Target Gradle: 9.2.1 (supports Java 25)
  • Scope: all exercises’ gradle/wrapper/* plus seed under exercises/gradle, and gradlew
  • New helper: bin/update-gradle-wrappers

Motivation

The Java track now targets Java 25. See discussion.
Older wrapper versions don’t fully support Java 25. Upgrading the wrapper ensures consistent builds locally and in CI, and avoids learners hitting version-related errors.


Reviewer Resources:

Track Policies

Copy link
Member

@kahgoh kahgoh left a comment

Choose a reason for hiding this comment

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

Sorry just saw the posts on the forums.

I think the changes to the Gradle wrappers look ok. However, there are already instructions for how to update Gradle in reference/how-to-update-gradle.md. Given the process involves running a couple of Gradle commands, I'm not sure we need the update-gradle-wrappers files.

Thanks for bringing this up and raising the PR!

@rabestro rabestro closed this Dec 17, 2025
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