Skip to content

Update gradle wrapper to 8.14.4 to support Java 21#109

Open
ostinru wants to merge 7 commits into
apache:mainfrom
ostinru:gradle-8-14-4
Open

Update gradle wrapper to 8.14.4 to support Java 21#109
ostinru wants to merge 7 commits into
apache:mainfrom
ostinru:gradle-8-14-4

Conversation

@ostinru

@ostinru ostinru commented Apr 23, 2026

Copy link
Copy Markdown
Collaborator

I am not sure that I understand Gradle Compatibility Matrix[1]. However it seems that Gradle 8.x should work with java ranging from Java 8 to Java 21 well.

[1] https://docs.gradle.org/current/userguide/compatibility.html

@@ -0,0 +1 @@
f1771298a70f6db5a29daf62378c4e18a17fc33c9ba6b14362e0cdf40610380d No newline at end of file

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@ostinru ostinru marked this pull request as ready for review May 18, 2026 09:19
@ostinru ostinru marked this pull request as draft May 19, 2026 18:11
@ostinru ostinru marked this pull request as ready for review June 12, 2026 14:14
@ostinru

ostinru commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

Run test suite with openjdk-21 here: ostinru#41
Looks ok

@ostinru ostinru marked this pull request as draft June 12, 2026 19:55
@ostinru

ostinru commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

Converting to draft - having issues running PXF on axiom-jre21 =/

@ostinru ostinru added this to the v2.2 milestone Jun 15, 2026
@ostinru ostinru marked this pull request as ready for review July 10, 2026 15:25
@ostinru

ostinru commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

Tested with JDK 17, 21, 25 - at least it starts and can query Postgres datasources.

@leborchuk , this PR should remove blockers in supporting Rocky Linux 10.

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.

Pull request overview

This PR updates the server-side Gradle wrapper to a newer Gradle 8.x release in order to enable running builds with Java 21, and aligns related CI/container wiring with the new wrapper version.

Changes:

  • Bump Gradle wrapper from 7.6.6 to 8.14.4 (including wrapper checksum file updates).
  • Update CI Java matrix to include Java 21.
  • Adjust build dependency management to pin Mockito/Byte Buddy versions for Java 21 compatibility.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
server/gradle/wrapper/gradle-wrapper.properties Updates Gradle distribution URL + SHA256 to 8.14.4.
server/gradle/wrapper/gradle-8.14.4-wrapper.jar.sha256 Adds wrapper JAR checksum for the new Gradle version.
server/gradle/wrapper/gradle-7.6.6-wrapper.jar.sha256 Removes wrapper JAR checksum for the old Gradle version.
server/build.gradle Updates plugins and adds dependencyManagement overrides intended for Java 21 support.
pom.xml Updates RAT excludes to match the new wrapper checksum filename.
automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile Updates container Gradle version and wrapper-cache warm-up steps.
.github/workflows/pxf-ci.yml Adds Java 21 to the java-compatibility matrix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/pxf-ci.yml
Comment thread automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile
Comment thread .github/workflows/pxf-ci.yml
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