Welcome to the April 2021 Gradle Build Tool newsletter.
This issue covers news from the community and the 7.0 release of Gradle Build Tool.
From the Community
- Gradle 7.0 Improves Incremental Builds, Backs Java 16 - summarizes the improvements in the recently released Gradle 7.0 (from InfoWorld)
- Simplified Version Management with Gradle 7 - discusses various patterns for sharing dependency versions in multi-project builds and shows how to use the new version catalog feature preview for this purpose in Gradle 7.0
- Frequently Asked Questions About Version Catalogs - answers common questions about the new version catalog feature preview
- Centralized Dependency Management Using Gradle Version Catalogs - discusses the benefits of the new version catalog feature preview and shows how to use it
- Abusing Gradle’s Class Loader Hierarchy for Fun and Profit - describes a technique for monkey patching Gradle plugins
- How to Automatically Check Dependency Licenses in Gradle Projects Using Gradle License Report - describes how to make the build fail automatically when a dependency with a disallowed license is added
- Lock your Dagger in Gradle Modules - describes now to encapsulate Dagger components with Gradle’s implementation configuration
- Caching in the Android Build Process - explains incrementality and caching in Gradle and Android Studio
- 10 Ideas to Improve Your Gradle Build Times Part I - shares tips on improving Gradle build times for Android and non-Android projects
- 10 Ideas to Improve Your Gradle Build Times Part II - shares additional tips on improving Gradle build times
- Improve your Gradle Build Times by Disabling Plugins - demonstrates how to disable specific plugins on demand in order to improve Gradle build times
- 3 Tips to Configure the Gradle Wrapper & Distribution - describes how to set up Gradle Wrapper and verify its integrity
The new major release of Gradle is out!
This release enables file system watching by default to make your incremental builds faster, expands support for building projects with Java 16, and adds support for building on Macs using Apple Silicon processors (such as M1). This release also introduces a feature preview for centralized dependency versions.
See also the what’s new page highlighting the most important changes since Gradle 6.
IntelliJ IDEA 2021.1
IntelliJ IDEA 2021.1 has been released. It provides support for version 2 of Windows Subsystem for Linux (WSL 2) so that you can work with Gradle projects located in WSL 2 in IntelliJ IDEA. See what’s new page for details.
If you share our passion for developer productivity and tooling, consider joining our globally distributed team and check out our job openings at gradle.com/careers.
- May 3 9:00 am - 12:30 pm (Pacific Time, US): Gradle Build Cache Deep Dive
- May 25-26 8:30 am - 12:30 pm (Pacific Time, US): Introduction to Gradle
- May 26 10:00 am - 10:30 am (Pacific Time, US): DevProdEng Showdown S1E4: Android Architecture and Developer Productivity at Scale
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 firstname.lastname@example.org.
Until next time!
—The Gradle Team