r/androiddev • • 28d ago

News Gradle 9.9.0 Released

https://docs.gradle.org/9.9.0/release-notes.html

Kotlin DSL scripts benefit from incremental compilation, making script recompilation after a change in buildSrc or an included build up to 65% faster in large multi-project builds.

63 Upvotes

8 comments sorted by

13

u/DanLynch 28d ago

I'm still stuck on Gradle 9.5.1 because I haven't made the switch to AGP 9.x yet. Guess I really need to get going on that: starting to miss out on some cool new features.

3

u/kevin7254 28d ago

It was a pain to do ngl. I saw they have created agent skills for it now though might help

1

u/NekroVision 25d ago

Those help a little, bit it's still a pain..

3

u/NukeouT 28d ago

Shouldnt the Gradle icon be something that Gradles like a Cournacoupia rather than an elephant?

2

u/Nolbelto_Rinnen 28d ago

Does the incremental compilation kick in by default or is it behind a feature flag for now? Script recompilation after touching shared build logic has been one of the biggest bottlenecks on larger multi-module repos

3

u/DoggyStar1 28d ago

Thank you so much for the post 👍🏼
Without this, I wouldn’t have known about this either. Now I need to see if I can get mine updated to this.

1

u/Routine_Tart8822 27d ago

The Kotlin DSL incremental compilation is a massive quality-of-life improvement. In large multi-module setups with convention plugins, script recompilation overhead after touching build logic was getting painful. Glad to see the Kotlin Build Tools API finally making a noticeable difference here.

1

u/LibertarianCEO 26d ago

Yess nice we all love compatibility changes etc whoah