Gradle Newsletter, April 2021 ======== 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 ### Blog Posts - [Gradle 7.0 Improves Incremental Builds, Backs Java 16][1] - summarizes the improvements in the recently released Gradle 7.0 (from InfoWorld) - [Simplified Version Management with Gradle 7][2] - discusses various patterns for sharing dependency versions in multi-project builds and shows how to use the new [version catalog][3] feature preview for this purpose in Gradle 7.0 - [Frequently Asked Questions About Version Catalogs][4] - answers common questions about the new version catalog feature preview - [Centralized Dependency Management Using Gradle Version Catalogs][5] - 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][6] - describes a technique for monkey patching Gradle plugins - [How to Automatically Check Dependency Licenses in Gradle Projects Using Gradle License Report][7] - describes how to make the build fail automatically when a dependency with a disallowed license is added - [Lock your Dagger in Gradle Modules][8] - describes now to encapsulate Dagger components with Gradle’s implementation configuration - [Caching in the Android Build Process][9] - explains incrementality and caching in Gradle and Android Studio - [10 Ideas to Improve Your Gradle Build Times Part I][10] - shares tips on improving Gradle build times for Android and non-Android projects - [10 Ideas to Improve Your Gradle Build Times Part II][11] - shares additional tips on improving Gradle build times - [Improve your Gradle Build Times by Disabling Plugins][12] - demonstrates how to disable specific plugins on demand in order to improve Gradle build times - [3 Tips to Configure the Gradle Wrapper & Distribution][13] - describes how to set up Gradle Wrapper and verify its integrity ## Gradle Releases ### Gradle 7.0
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][14] highlighting the most important changes since Gradle 6. ## Other Releases ## 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][15] for details. ## Careers 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.][16] ## Upcoming Events * __May 3__ 9:00 am - 12:30 pm (Pacific Time, US): [Gradle Build Cache Deep Dive][17] * __May 25-26__ 8:30 am - 12:30 pm (Pacific Time, US): [Introduction to Gradle][18] * __May 26__ 10:00 am - 10:30 am (Pacific Time, US): [DevProdEng Showdown S1E4: Android Architecture and Developer Productivity at Scale][19] See the [Gradle Training webpage][20] 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][21]._ Until next time! —The Gradle Team -- Gradle Inc. 325 9th Street San Francisco, CA 94103 https://gradle.org (Unsubscribe from future Gradle emails) [1]: https://www.infoworld.com/article/3614703/gradle-70-improves-incremental-builds-backs-java-16.amp.html [2]: https://melix.github.io/blog/2021/03/version-catalogs.html [3]: https://docs.gradle.org/7.0/userguide/platforms.html?utm_source=newsletter&utm_medium=email&utm_campaign=april_2021#sub:central-declaration-of-dependencies [4]: https://melix.github.io/blog/2021/03/version-catalogs-faq.html [5]: https://www.skrilltrax.dev/blog/centralized-dependency-management-gradle-version-catalogs/ [6]: https://dev.to/autonomousapps/abusing-gradle-s-class-loader-hierarchy-for-fun-and-profit-oca [7]: https://sivrikayafirat.medium.com/how-to-automatically-check-dependency-licenses-in-gradle-projects-using-gradle-license-report-fad5cc581452 [8]: https://proandroiddev.com/lock-your-dagger-in-gradle-modules-e4270d61e138 [9]: https://proandroiddev.com/caching-in-the-android-build-process-a52641a66b31 [10]: https://medium.com/dipien/10-great-ideas-to-improve-your-gradle-build-times-2a6b281c69c6 [11]: https://medium.com/dipien/10-ideas-to-improve-your-gradle-build-times-part-ii-9551bb10e9bd [12]: https://medium.com/dipien/improve-your-gradle-build-times-by-only-applying-needed-plugins-5cbe78319e17 [13]: https://medium.com/dipien/3-tips-to-configure-the-gradle-wrapper-distribution-a46f9b20ddde [14]: https://gradle.org/whats-new/gradle-7/?utm_source=newsletter&utm_medium=email&utm_campaign=april_2021 [15]: https://www.jetbrains.com/idea/whatsnew/ [16]: https://gradle.com/careers/?utm_source=newsletter&utm_medium=email&utm_campaign=april_2021 [17]: https://gradle.com/training/build-cache-deep-dive/?time=1620000000&utm_source=newsletter&utm_medium=email&utm_campaign=april_2021 [18]: https://gradle.com/training/introduction-to-gradle/?time=1621900800&utm_source=newsletter&utm_medium=email&utm_campaign=april_2021 [19]: https://gradle.com/devprodeng-showdown-s1e4/?utm_source=gbt-newsletter&utm_medium=email&utm_campaign=s1e4 [20]: https://gradle.com/training/?utm_source=newsletter&utm_medium=email&utm_campaign=april_2021 [21]: mailto:newsletter@gradle.com