Happy building in the new year! Welcome to the January 2021 Gradle Build Tool newsletter.
This issue covers the news for the community and the new releases of Gradle Build Tool and Gradle Enterprise.
From the Community
- Build, Compile, Run: A Crash Course in Classpaths - explains fundamentals of classpaths and class loaders in Java and how they are used by Gradle
- Android — Keeping Release and Debug Installed All the Time - shows how to have both debug and release versions of an Android app installed on a device by using Gradle build types
- The Problem with Gradle - shares difficulties with learning Gradle and how to overcome them (see also the response from one of Gradle engineers at The problem with Gradle: really?)
- Simple Demo of Gradle Parallel Tests - demonstrates how to set up a Gradle build to run tests in parallel
- How to Debug Dependency Conflicts in Maven and Gradle - shows a few examples of troubleshooting and fixing dependency conflicts in Gradle and Maven
- How to Configure Gradle - explains different dependency configurations in Gradle
- Publishing an Obfuscated Kotlin Library - describes how to obfuscate a JAR with Proguard and Gradle
- Write a Custom Gradle Plugin for Your Android App (Part 1) - describes how to create a simple Gradle plugin
- Improved Security Testing for Git-based Gradle Projects Using Lockfile - describes how to use dependency locking and how Snyk uses Gradle’s lockfile to detect vulnerable dependencies in Gradle builds
Podcasts and Videos
- The Developers’ Bakery - #01 Gradle Doctor with Nelson Osacky - discusses the Gradle Doctor plugin
- Developer Productivity Engineering Android | Build Scans Part 2 - Usage - demonstrates build scans
From The Gradle Build Tool Team
Introducing Java Toolchains
Gradle 6.7 introduced Java toolchain support which was further enhanced in Gradle 6.8. This feature provides an easy way to declare with what Java version the project should be built. It detects installed JDKs and downloads one if needed. Learn more in the blog post.
Upgrading Gradle Survey
We published a survey asking about the user experience when upgrading Gradle so we can improve it. Your opinion is important to us and we would appreciate it if you could spend a few minutes answering those questions.
Gradle 6.8 has been released. This release includes a much faster Kotlin DSL compilation and other performance optimizations, improvements to Java toolchain support including vendor selection, convenient execution of tasks in composite builds, new APIs for consistent dependency resolution, and other improvements. See release notes for details.
Gradle Enterprise 2020.5
Gradle Enterprise 2020.5 has been released. It features Distributed Testing for Maven builds which executes your existing test suites faster by distributing them across as many machines as you provide. See the release notes for details.
IntelliJ IDEA 2020.3
IntelliJ IDEA 2020.3 has been released. It provides better debugging for Gradle. See what’s new for details.
New Versioning Scheme for the Android Gradle Plugin
Google announced that the versioning of the major versions of the Android Gradle Plugin (AGP) will be aligned with Gradle versions after AGP 4.2 (currently in beta), starting from AGP 7.0 (currently in alpha). See the 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.
Upcoming Featured Event
On Thursday, January 28 (9am PT), Gradle will launch the first episode of DevProdEng Showdown. This is a series of live-streamed 30-minute events where a panel of distinguished experts debate hot topics related to DevProdEng in a rapid-fire game show-like format.
This episode’s topic is “How Best to Achieve Java Development Productivity at Scale” and this episode’s All-Star panelists include: Kyle Morre (LinkedIn); Roberto Perez Alcolea (Netflix), Simona Bateman (Fitbit), and Hans Dockter (Gradle). Click here to learn more and register.
- Jan 21 9:00 am PT (3.5 hours): Training: Maven Build Cache Deep Dive
- Jan 25-26 8:30 am PT (4 hours each day): Training: Introduction to Gradle
- Jan 28 9:00 am PT (30 minutes): Showdown: DevProdEng - Java Enterprise Edition
- Feb 17 9:00 am PT (2.5 hours): Training: Gradle Build Cache Deep Dive
- Mar 23-24 8:30 am PT (4 hours each day): Training: Introduction to Gradle
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