Welcome to the October 2020 Gradle Build Tool newsletter.
This issue covers the news for the community, and the new releases of Gradle Build Tool, Gradle Enterprise, and Android Studio.
From the Community
- Microservices — Architecture Nihilism in Minimalism’s Clothes - discusses different build patterns for microservices architecture
- Surfacing Gradle Build Scans Within GitHub Actions Workflows - demonstrates how to expose build scans in GitHub Actions workflows
- Gradle Dependencies: Scanning With New Snyk Gradle Plugin - introduces a new Gradle plugin for scanning dependencies for known security vulnerabilities with Snyk
- Ibotta’s Solution for AOP Weaving on Android - introduces a new AspectJ AOP weaving Gradle plugin for Android
- Android Devs! Let’s Generate Our Own Strings JSON with a Gradle Plugin - shows how to use JSON instead of XML for String resources in an Android app using a custom Gradle plugin
- How I Automated Database Schema Migrations in a Multi-Tenant Database Model - demonstrates how to automate database migrations with Liquibase and Gradle
- Unit & Integration Testing Kafka and Spark - explains different ways to test Spark/Kafka-based applications with Gradle
- Build your HiveMQ Extensions with Gradle - introduces a Gradle plugin for building HiveMQ extensions
- Creating a Command-Line Application in Kotlin - shows how to build a simple Kotlin application with Gradle and IntelliJ IDEA
- The Power of Frustration - shares a positive experience of contributing to Gradle
- Embracing Developer Productivity Engineering in Android - a video series about the importance of the discipline of Developer Productivity Engineering
- Gradle, the Ultimate Alligator(Delegator) - a video explaining various aspects of Gradle in the context of Android builds
- Shadow Plugin 6.1.0 adds support for configuration caching and configuration avoidance
- Micronaut 2.1 includes a new Gradle plugin
- Errorprone Plugin 1.3.0 adds support for Java toolchains
- JMH Plugin 0.5.2 adds support for configuration caching
- jOOQ Plugin 5.0 adds support for configuration caching and the Kotlin DSL
From the Gradle Build Tool Team
We started regularly sharing various #GradleTips on Twitter that we hope you’ll find useful. Follow us on Twitter to get them as well as other updates.
You can use the `because` clause to document why a specific dependency is needed in your project. The reason will also be visible in build scans and in the command-line dependency insight report. #GradleTips pic.twitter.com/pZR4XEppLx— Gradle (@gradle) October 7, 2020
- Modernizing the Groovy build at Madrid-GUG (slides and video are available online)
- Keeping growing software projects under control with Gradle (at upcoming Joker online conference)
Gradle 6.7 has been released and is packed with new features and enhancements. As of this release, the file system watching feature that makes incremental builds faster is ready for production use. This release also brings Java toolchain support that makes it much easier to build JVM projects using a different version of Java than the one Gradle is running on. Running on and building with Java 15 is also supported. See release notes for details and information about other improvements in this release.
Gradle Enterprise 2020.4
Gradle Enterprise 2020.4 has been released and ships with a number of highly anticipated features. Correlation and detection analysis of similar build failures makes it easy to identify whether a build failure is isolated or widespread. The improved fault tolerance for distributed testing decreases the disruptions caused by unreliable network environments. More build history can be retained than before thanks to more efficient build data storage. Configuring and administering a Gradle Enterprise installation is also now much more convenient. See release notes for details.
Android Studio 4.1
Android Studio 4.1 has been released. It brings a number of improvements including a faster feedback loop with “apply changes”. This is the first release that is compatible with Gradle’s experimental configuration cache. However, we recommend that early adopters of configuration cache use the latest 4.2 canary version to get all the latest bug fixes. See the blog post for details about this release.
- Nov 10 9:00 am PT (2.5 hours): Hands-On Workshop: Introduction to Developer Productivity Engineering
- Nov 17-18 8:30 am PT (4 hours each day): Training: Introduction to Gradle
- Nov 19 9:00 am PT (3.5 hours): Training: Maven Build Cache Deep Dive
- Dec 17 9:00 am PT (3.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 email@example.com.
Until next time!
—The Gradle Team