Welcome to the June 2022 Gradle Build Tool newsletter. This month the Gradle Build Tool community was again busy writing some great guides and how-tos. This edition features some best practices around version catalogs and optimizing configuration time to name a few. We are excited to announce the Gradle Build Tool Public Roadmap. Finally, there is a new version of Kotlin.
From the Community
- Testing with Kotlin and JUnit5 - Easy to follow guide on the basics on testing Kotlin code with JUnit.
- Profiling the Good Kind - An example usage of the Gradle Profiler to analyze configuration time.
- Death By a Thousand Cuts - All those 1 milliseconds configuration times add up. Here are some ideas to limit them.
- Gradle Quickie: Laziness - Best practices to have faster builds by avoiding task configuration. “It’s easy to shoot yourself in the foot” so be warned.
- Multi-Module Architecture in Android - Strategies for multi-module architecture in Android apps and the advantages and disadvantages with each.
- TOML + Gradle + Project Accessors - Use version catalogs and project accessors for a centralized, using an easy syntax for dependencies.
- Centralize Dependencies With Version Catalogs (Gradle Best Practice Tip #20) - Learn the best way to centralize dependencies with version catalogs.
- Understanding Gradle #16 – Source Sets - Understand how to structure your project or use a source Directory set.
- Full-Fledged Ready-to-Grow Project for Android, Java and More - Github repository and instructional videos to help you set up a full project.
Kotlin 1.7.0 Released
Kotlin 1.7.0 contains some great features such as the Kotlin К2 compiler in Alpha, which gives performance improvements for the JVM. Additionally, their new approach to incremental compilation now includes changes made inside dependent non-Kotlin modules. According to JetBrains, used along with build cache, the kotlin-gradle-plugin module shows an improvement of greater than 80% for the changes after the cache hit.
From Gradle Team
Gradle Public Roadmap
We are excited to announce that the Gradle Build Tool roadmap is now public. See the roadmap board and the associated readme as well as the announcement blog post 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. We are looking for new teammates including software engineers, solutions engineers, data scientists, SEO & SEM manager, account executives and developer productivity engineers.
- July 5 - 6 11:30 am - 3:30 pm (US EDT): Virtual Training - Introduction to Build Tool
- July 14 1:00 pm - 2:00 pm (US EDT): DevProdEng Lowdown - DevProdEng Lowdown: How Uber does Developer Productivity Engineering
- July 19 9:00 am - 10:00 am (US EDT): Virtual Training - Gradle Enterprise Developer User Training
- July 21 12:00 pm - 3:00 pm (US EDT): Virtual Workshop - Maven Build Cache Deep Dive
- July 26 2:00 pm - 3:00 pm (US EDT): Virtual Training - Gradle Enterprise for Productivity Engineers Training
- July 27 9:00 am - 10:00 am (US EDT): Virtual Training - Gradle Enterprise for Productivity Engineers Training
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 Build Tool Team