Welcome to the June 2020 Gradle Build Tool newsletter.
We hope you stay safe in these difficult times. At Gradle, we are fortunate to work fully remotely and the Coronavirus situation hasn’t slowed us down in delivering new and exciting features for you. This issue features as always some interesting stuff from our incredible community and highlights from recent Gradle Build Tool and Gradle Enterprise releases.
- Dependency Analysis - a new plugin that offers guidance on project dependencies (e.g. unused dependencies and api vs implementation configuration)
- Kordamp - a new collection of various opinionated plugins
- Nokee - a new set of plugins for building native projects that now provides preliminary iOS support in 0.3 release
- PlantUML - a new plugin that builds PlantUML diagrams from code
- Rewrite - a new plugin aiming to automatically refactor code by, for example, applying Checkstyle rules
- Spotless - the popular plugin published a new major release that supports local build cache
- Spring Boot - the popular plugin published a new version with various improvements
- When to (not) use mavenLocal() in your Gradle build script - discusses the use of project dependencies and composite builds instead of mavenLocal()
- Jib: The next big thing to build your Docker images - describes how to build Docker images easily and quickly using the Jib plugin from Google
- Building a Java Application With Gradle - provides an introductory Gradle tutorial from Baeldung
- Sharing Dependencies and Gradle Plugins between Kotlin/SpringBoot Services - covers dependency sharing and plugins in a multi-repo project using a custom plugin and a platform
- Stop using Gradle buildSrc. Use composite builds instead - advises on how to achieve faster feedback loops with composite builds instead of buildSrc
Gradle Enterprise 2020.2 and Distributed Testing
Gradle Enterprise 2020.2 contains the feature that we have been looking forward to for a long time. The highlight is our new Distributed Testing capability that extends test parallelism by fanning out test execution across many machines. Our customers observe build times decreasing by a factor of 10x. We are starting to use it with our own builds and we are stoked about the results we are seeing. For more information about Gradle Enterprise 2020.2, see release notes.
Gradle 6.4 is generally available. It was followed by a small patch release 6.4.1, so make sure you use the latest when you upgrade. This release includes highly anticipated support for building, testing and running Java Modules (JPMS). It also provides precompiled Groovy DSL script plugins that are a nice new way to write your build code inspired by the equivalent feature in Kotlin DSL.
IntelliJ IDEA 2020.1
The recently released IntelliJ IDEA 2020.1 improves the way Gradle projects are refreshed and makes running tests with Gradle much more efficient.
Android Studio 4.0
Android Studio 4.0 has just been released and brings a new build analyzer window, initial support for Kotlin DSL, and support for several new features in the Android Gradle plugin.
- Jun 19 9:00 am PT (3.5 hours): Training: Gradle Build Cache Deep Dive
- Jul 07-08 8:30 am PT (4 hours each day): Training: Intro to Gradle
- Jul 09 9:00 (2.5 hours): Training: Gradle 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 firstname.lastname@example.org.
Until next time!
—The Gradle Team