-
Notifications
You must be signed in to change notification settings - Fork 137
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
Bump Gradle wrapper to 8.8 #11778
Bump Gradle wrapper to 8.8 #11778
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
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.
👋 @wzieba !
I have reviewed this PR, everything works as expected, good job! 🌟
I also tested this with included builds (local-builds.gradle
) and everything seems to be working as expected. ✅
Btw, why are we doing this update now, I am just trying to understand whether there was a need for that, for security purposes maybe, or whether this was done purely to keep our tooling up-to-date, and maybe, to also have Gradle prepared for a future AGP update? 🤔
I have left a question (❓) for you to consider. I am going to approve this PR anyway, since none is blocking. I am NOT going to merge this PR yet to give you some time to apply any of my suggestions. However, feel free to ignore them and merge the PR yourself.
EXTRAS
- I issued another such update command and it gave me an updated
gradlew
andgradlew-wrapper.jar
file. Can you try it again on your side and see if you also are getting these file to be re-updated, just like it happens on my side? 🙏
FYI: I used the following command:
./gradlew wrapper --gradle-version=8.8 --distribution-type=bin --gradle-distribution-sha256-sum=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612
It's a preparation for AGP update, but also a casual dependency update. I think that we were usually combining AGP and Gradle updates, but there's no need to not update Gradle separately and more often.
I've doubled check and there's no difference for my |
I agree, maybe in the past, with some major updates, we had to do both, but unless we do have to do both, let's always do Gradle in isolation, and only then follow-up on AGP updates. 💯
Yea, I did double and triple check that, me running I wonder why I get a diff and you don't, this is so strange and unpredictable, and imagine, we both use a Mac... 🤷 FYI: I don't want to block the merge so feel free to merge this anyway. 😊 PS: Same for WPAndroid. |
This is concerning 😕 - could you please prepare a PR (or only branch) with the diff? I'd like to examine the difference. |
Sure thing @wzieba I just did that and pushed this commit here on this bump_gradle_wrapper_petros branch. 👍 Let me know if that helps. 🙏 |
So both versions are safe: But comparing this to https://gradle.org/release-checksums/, it looks like my update updated jar to version 8.6 🤨 The difference is that I used local I'll go ahead and cherry-pick your commit and merge this PR. |
Command: ./gradlew wrapper --gradle-version=8.8 --distribution-type=all --gradle-distribution-sha256-sum= f8b4f4772d302c8ff580bc40d0f56e715de69b163546944f787c87abf209c961
Oh, interesting, and I was wondering what was happening there, thanks for sharing! 😅
🚀 |
Why it wasn't updated with a previous commit? See: https://github.com/woocommerce/woocommerce-android/pull/11778\#issuecomment-2208987020
Description
This PR bumps Gradle wrapper to 8.8.
Testing information
CI checks should be just fine.
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.