Skip to content

Build on Gradle 9 and Java 25 - #94

Open
ltamaster wants to merge 1 commit into
mainfrom
grails-8-upgrade
Open

ltamaster wants to merge 1 commit into
mainfrom
grails-8-upgrade

Conversation

@ltamaster

Copy link
Copy Markdown
Contributor

Context

Follows rundeck and rundeckpro onto Java 25. One of 23 plugin repos moving together; the change is the same in each.

from to
Gradle wrapper 8.14.x 9.6.0
Java source/target 17 25 (where this build declares it)
Workflow java-version 17 25

The workflows move with the build deliberately: a build targeting 25 is no use if CI still hands it a 17 JVM.

Testing

./gradlew clean build passes on JDK 25 (Zulu 25.0.4).

Not verified here: publishing, and the plugin running inside a Rundeck instance.

Follows rundeck and rundeckpro onto Java 25. The Gradle wrapper goes to 9.6.0,
the Java source/target moves to 25 where this build declares it, and the
workflows that run the build move with it -- a build targeting 25 is no use if
CI still hands it a 17 JVM.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ltamaster
ltamaster requested review from a team and a lite review from Copilot September 15, 2026 18:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Update the workflow labels and regenerate or remove the stale Gradle build log.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates the plugin build from Gradle 8.14.x/Java 17 to Gradle 9.6.0/Java 25.

Changes:

  • Upgrades the Gradle wrapper to 9.6.0.
  • Updates build and release workflows to Java 25.
  • Adds a Gradle build log artifact.
File summaries
File Summary Review notes
gradle/wrapper/gradle-wrapper.properties Uses Gradle 9.6.0.
.github/workflows/build.yml Configures Java 25 for CI builds. Nit (3 votes): Rename the displayed setup step from “Set up JDK 17” to “Set up JDK 25”.
.github/workflows/release.yml Configures Java 25 for releases. Nit (3 votes): Rename the displayed setup step from “Set up JDK 17” to “Set up JDK 25”.
temp/20260914-160154-gradle-build.log Adds recorded build output. Nit (3 votes): Regenerate with Gradle 9.6.0 or remove it; the current log references Gradle 8.14.5.
Review details
  • Files reviewed: 3/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

uses: actions/setup-java@v5
with:
java-version: '17'
java-version: '25'
uses: actions/setup-java@v5
with:
java-version: '17'
java-version: '25'
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