April 2024

Welcome to the April 2024 Gradle Build Tool newsletter! Let’s discuss Gradle Build Tool 8.7 features, the recent Gradle Dependency Submission Action for GitHub, Develocity 2024.1, plugin updates, and upcoming events.

From the Community

Blog Posts

Videos, Slides, and Live Demos

And Books!

El (Bingquan) Zhang, a Google Developer Expert for Android, has published a new book: Extending Android Builds: Pragmatic Gradle and AGP Skills with Kotlin. As El wrote, “The book goes beyond Gradle configuration; it delves into the development of Gradle plugins that integrate with the Android Gradle Plugin (AGP) and other essential build tools, such as AAPT2, Kotlin Symbol Processing (KSP), and Bytecode manipulators”. Check it out!

From the Gradle Team

Gradle Build Tool 8.7

Gradle Build Tool 8.7

We released Gradle Build Tool 8.7 at the end of March 2024. This release includes support for building Java 22 projects, better build authoring and troubleshooting capabilities, and configuration cache improvements.

For build engineers, the task development section of the Gradle documentation has been substantially updated in 8.7. The revised section highlights how to write lazy tasks and how to use lifecycle tasks properly. For build engineers and community plugin authors, the developing plugins section is brand new and details the difference between pre-compiled script plugins and binary plugins.

See the release notes for more details and the release video on our YouTube Channel. Thank you to the 50+ contributors for their work in this release!

We also started the new #releases-discussion channel on the Gradle Community Slack to facilitate discussions of the new releases. Join this channel to discuss the latest features!

Gradle Dependency Submission Action for GitHub

Gradle Dependency Submission Action

Gradle Inc. announced a technical partnership with GitHub on software supply chain security. As a first step, we released the new Dependency Submission GitHub Action for Gradle, which can be configured to automatically submit dependencies to GitHub’s dependency graph and receive Dependabot alerts for potentially vulnerable direct and transitive dependencies. Read more in the announcement blog post and official press release. We also published a short overview video here.

Develocity 2024.1

Develocity 2024.1

This month, the Gradle team released the 2024.1 edition of Develocity. This release focuses on test and build failure analytics. It provides new Build Scan insights into configuration caching for Gradle builds. Another big change is the addition of the Develocity Reporting and Visualization set of tools, which facilitates custom analysis of Develocity build data by allowing build data to be queried with an SQL-like language and visualized using the Grafana visualization platform.

Read the full features overview in the release announcement. You can also check out some of the new Develocity features on our public instances for open-source projects we support, e.g. Spring or Kotlin. For configuration caching analysis, every Gradle Build Tool user can access these new capabilities via Gradle Build Scan.

Declarative Gradle

Declarative Gradle keeps evolving. You can see more demos and documentation in this repository. Now you can see examples for more project types like Android applications or Kotlin Multi-Platform (KMP), and an anticipated release date for the preview is June. We also published a tentative roadmap for the project where you can see the key milestones.

Next month, we will do a full presentation at KotlinConf in Denmark. If you are going there, join Paul Merlin and Sterling Greene on May 24, 10:15, for the Developer-first Gradle Builds presentation!

Gradle Developer Huddles are Back!

Gradle Developer Huddle with Martin Bonnin

We want to share more stories and facilitate discussions about Gradle developer experiences and new tools. On April 11, we hosted the first webinar in the new series, dedicated to the Gratatouille library by Martin Bonnin, to help developers write new Gradle Build Tool plugins by implementing Kotlin functions.

If you want to share your story or highlight a project you developed for Gradle, stay tuned for the CFP announcement or contact Oleg Nenashev on the Gradle Community Slack.

And April Fools…

April Fools Post

On April 1, a few Gradle engineers collaborated on the Kradle 9.0 announcement, where they announced Gradle Build Tool renaming, switching to Kotlin by default, a new Krataouille plugin for writing plugins with Kotlin coroutines, and a full rewrite of Gradle Build Tool core plugins to Kotlin. That triggered discussions in the community, especially among those who didn’t see the date.

We would like to assure everyone that the April 1st announcement is not real, and there are no plans to rewrite Gradle Build Tool or to drop support for Groovy in the immediate future. If you are looking for the source of truth, check out our Public Roadmap and the stories linked from there. At the same time, you know, there is some truth to any joke. Stay tuned ;)

Community Plugin Highlights

Upcoming Events

Check out Gradle’s upcoming community and hosted events! Say hi to us at our booth, and catch our speaking slots! Hope to see you at an event soon.

If you have some news you’d like us to share in the next issue, let us know using the #community-news channel on the Gradle Community Slack or by mentioning @Gradle on Twitter/X.

Until next time!
— The Gradle Team

Gradle Inc. | 2261 Market Street | San Francisco, CA 94114
Privacy Policy | Unsubscribe