-
Notifications
You must be signed in to change notification settings - Fork 14.4k
MINOR: Upgrade to Gradle 8.14.1 #19780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc @showuon I was also wondering:
|
324a790
to
5cfd2df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
Do we need to keep gradlewAll given the deprecation note?
Sorry, I don't know about the gradlewAll
deprecation note. Could you tell me more?
Why are we using gradle-8.14-all.zip instead of gradle-8.14-bin.zip?
I agree with using bin zip. Checking the gradle doc (expend the Installing manually
section), it said:
We recommend downloading the bin file; it is a smaller file that is quick to download (and the latest documentation is available online).
Also, could we verify your change in this PR by upgrading the gradle to a newer minor version 8.14.1
? Thank you.
There is a deprecation note inside the file in the root directory, but I see this was recently changed, so we have to keep it for backwards compatibility. See #17313.
At some point we switched to "all", but I was unable to find any reason. cc @ijuma
That was released few hours ago. Let's give it a try. |
8df6f76
to
0221695
Compare
@showuon the "bootstrapWrapper" task was not working with my previous changes. This is used to add support for downloading the Gradle wrapper JAR if it doesn't exist. For this reason I updated the PR to just upgrade Gradle and switch to "-bin" binary. Let me know if it's fine. Thanks. |
3be74b0
to
ec78525
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Let's wait for CI result.
@showuon the build is broken due to https://github.com/apache/kafka/pull/18929/files#r2104172356. An fix was opened here: https://github.com/apache/kafka/pull/19792/files. |
7ea3545
to
72d7370
Compare
We just use the command that regenerates the file - that used |
This patch upgrades to Gradle 8.14.1. Note that we are switching to using the recommended "-bin" package. Signed-off-by: Federico Valeri <[email protected]>
@ijuma thanks. It looks like |
There are a couple of failing tests that seems to be flaky. |
Let's move to |
This patch upgrades to Gradle 8.14.1. Note that we are switching to
using the recommended "-bin" package.