August 2020
Welcome to the August 2020 Gradle Build Tool newsletter.
This issue covers news from the community, a new major performance optimization called configuration cache, and the latest Gradle and Gradle Enterprise releases.
From the Community #
Blog Posts #
- New APIs in the Android Gradle Plugin - provides a preview of the new APIs in the upcoming Android Gradle Plugin 4.1 version
- Easy modularity: Keeping your Gradle build scripts clean and eliminating duplication in your multi-module projects - demonstrates how to use precompiled script plugins to cleanly organize build logic in a multi-project build
- The proper care and feeding of your Gradle build - demonstrates how to use Dependency Analysis Gradle Plugin to get rid of unused dependencies, unused annotation processors, and more
- Gradle - Continuous Build and Gradle - running tests in Continuous Build - explains how to use Gradle’s continuous build feature to speed up your feedback loop
- Micronaut - Reloading using Gradle’s Continuous Build - demonstrates using the continuous build with Micronaut app
- Skipping Tests With Gradle - explains different options to skip tests with Gradle
- How to create a REST API for your App with Spring Boot, Kotlin & Gradle - provides a step-by-step tutorial series on Spring Boot with Gradle
- How To: Sorting and Reporting Your Dependencies Versions with Gradle - shares a customized way of managing project dependencies and using Gradle Versions Plugin to keep them up-to-date
Other #
- YourKit 2020.7 added support for Gradle run configurations in Intellij IDEA
From the Gradle Build Tool Team #
Introducting Configuration Caching #
Reducing the feedback time for incremental builds, especially in the IDE, has been the key focus of the Gradle Build Tool team in recent months. Gradle 6.6 ships with a highly experimental opt-in for configuration cache. The new performance feature allows Gradle to skip the configuration phase entirely when nothing that affects the build configuration, such as build scripts, has changed. It also allows running more work in parallel and other performance optimizations.
We’ve seen dramatic improvements in build times with early adopters and we are looking forward to rolling out this improvement more widely. However, note that many community plugins and a number of core features are yet to be updated to be compatible with configuration cache.
See also Introducing Configuration Caching from Gradle Team and Configuration Caching Deep Dive from Android Studio Team blog posts.
Gradle Releases #
Gradle 6.6 #
Gradle 6.6 has been released. The highlight of this release is the experimental opt-in for the configuration cache mentioned above. This release also includes stability improvements to file-system watching announced in the previous version. Other improvements in this release include improved handling user-provided credentials and support for the Java –release flag. See release notes for details.
Gradle Enterprise 2020.3 #
Gradle Enterprise 2020.3 has been released. This release features Distributed Testing performance improvements, more powerful Build Scan search capabilities, and other improvements. See release notes for details.
Related Releases #
IntelliJ IDEA 2020.2 #
Intellij IDEA 2020.2 has been released. This release provides project name completion and navigation for project names in build.gradle
files.
Upcoming Events #
- Aug 19 9:00 am PT (2.5 hours): Workshop: Maximize Developer Productivity with Fast and Reliable Gradle and Maven Builds
- Sep 15-16 8:30 am PT (4 hours each day): Training: Intro to Gradle
- Sep 18 9:00 (3.5 hours): Training: Maven Build Cache Deep Dive
See the Gradle Training webpage for an up-to-date list of all upcoming educational and training events.
If you have some news you’d like us to share in the next issue, use #gradle
on Twitter or send us an email with the details to newsletter@gradle.com.
Until next time!
—The Gradle Build Tool Team