Bump Gradle wrapper to 8.8
Description
This PR bumps Gradle wrapper to 8.8.
Testing information
CI checks should be just fine.
- [x] I have considered if this change warrants release notes and have added them to
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.
๐ฒ You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
| App Name | WooCommerce-Wear Android | |
| Platform | โ๏ธ Wear OS | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | e66afb98f2e716c32ff411176d711d411af62e75 | |
| Direct Download | woocommerce-wear-prototype-build-pr11778-e66afb9.apk |
๐ฒ You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
| App Name | WooCommerce Android | |
| Platform | ๐ฑ Mobile | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | e66afb98f2e716c32ff411176d711d411af62e75 | |
| Direct Download | woocommerce-prototype-build-pr11778-e66afb9.apk |
| 1 Warning | |
|---|---|
| :warning: | This PR is assigned to the milestone 19.4. This milestone is due in less than 2 days. Please make sure to get it merged by then or assign it to a milestone with a later deadline. |
Generated by :no_entry_sign: Danger
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? ๐ค
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 issued another such update command and it gave me an updated gradlew and gradlew-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? ๐
I've doubled check and there's no difference for my gradlew and gradlew-wrapper.jar files. Also, I think "Validate Gradle Wrapper" should throw an error if these files were not precisely as they intend to be ๐ค . Could you please double check if there's still a diff when you run wrapper task?
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 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. ๐ฏ
I've doubled check and there's no difference for my gradlew and gradlew-wrapper.jar files. Also, I think "Validate Gradle Wrapper" should throw an error if these files were not precisely as they intend to be ๐ค . Could you please double check if there's still a diff when you run wrapper task?
Yea, I did double and triple check that, me running ./gradlew wrapper --gradle-version=8.8 ... will always produce a new diff. On the gradlew side it is just a comment change (can be ignored I guess), but on the gradlew-wrapper.jar side I am also seeing some code changes (can't be too much ignored). ๐ค
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.
Yea, I did double and triple check that, me running ./gradlew wrapper --gradle-version=8.8 ... will always produce a new diff.
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:
From this PR:
From your commit
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 gradle installed and I have it in version 8.6. But it shouldn't matter, as the task parameters point to 8.8.
I'll go ahead and cherry-pick your commit and merge this PR.
...it looks like my update updated jar to version 8.6 ๐คจ
Oh, interesting, and I was wondering what was happening there, thanks for sharing! ๐
I'll go ahead and cherry-pick your commit and merge this PR.
๐