It's likely that Gradle 9 will be released in time for Boot 3.5 in May 2025. Assuming that happens, we should add support for it in 3.5.
Comment From: wilkinsona
It doesn't look like Gradle 9 is going to be released in time for 3.5.0-RC1. Fortunately, supporting Gradle 9 doesn't appear to be too hard so this may just be a documentation issue to declare support when the time comes.
Comment From: okrische
Gradle 9 is released.
Comment From: wilkinsona
With 3.5.x being an LTS release that will, per the current policy, be supported in OSS until mid-2026 and commercially until mid-2032, I don't think we should add Gradle 9 support as we'd then be supporting three different major lines of Gradle (7, 8, and 9) for a prolonged period. Instead, we should save official 9.x support for Boot 4.0 where we can also drop support for 7.x.
We can perhaps offer some best-effort support for Gradle 9 in 3.x without documenting it as being supported.
Comment From: francescopeloi
With 3.5.x being an LTS release that will, per the current policy, be supported in OSS until mid-2026 and commercially until mid-2032, I don't think we should add Gradle 9 support as we'd then be supporting three different major lines of Gradle (7, 8, and 9) for a prolonged period. Instead, we should save official 9.x support for Boot 4.0 where we can also drop support for 7.x.
We can perhaps offer some best-effort support for Gradle 9 in 3.x without documenting it as being supported.
Where could we read/know if the non-official support is present or not?
Comment From: wilkinsona
You should largely try it and see if it works for your purposes. Beyond that, GradleVersions contains the versions of Gradle that we're testing against. This link's for the 3.5.x branch. A version won't appear there unless it's working with few, if any, exceptions.