February 2017

Major News

Welcome to the Gradle newsletter for February! The team has been hard at work on both the latest releases of the Gradle Build Tool, version 3.4, and Gradle Enterprise, version 2017.1.

Details are below, but first, here are the links:

Upcoming Events

Upcoming Trainings

Gradle Enterprise 2017.1

The Gradle Cloud Services team is excited to announce Gradle Enterprise 2017.1! This release brings powerful new features to help diagnose dependency issues faster by easily finding dependency differences between two builds, identify opportunities to improve the performance of your build with an interactive graphical timeline of task execution, access streaming build data via an export API, get insights into how your build uses the Gradle build cache, view more detailed information about task performance, and more! See the release notes for more details: https://gradle.com/enterprise/releases/2017.1

The following figure, from the release page, shows an example of the new timeline feature, showing when tasks were executed and how long they took.

CE 2017.1 timeline

Performance Features of Gradle Build Tool version 3.4

The biggest features of the new release are:

The key idea is that to get great performance, you need to focus not only on what to build, but also what not to. Compile avoidance means determining which parts of a system need to be rebuilt based on changes. The newly-revised incremental compiler is now much more robust and powerful, and can be enabled with a simple flag. The new Java library plugin lets you distinguish between dependencies required for an API from those that provide an application with internal implementation details.

All of these changes – understanding compiler avoidance, improving incremental compilation, and the new Java Library Plugin – promise to make complex builds both simpler and faster. They’re discussed in depth in a new blog post by Cedric Champeau. As a teaser, here’s a sample:

We are very proud to announce that the newly released Gradle 3.4 has significantly improved support for building Java applications, for all kind of users. This post explains in details what we fixed, improved and added. We will in particular focus on:

The improvements we made can dramatically improve your build times. Here’s what we measured:

Gradle 3.4 performance

Please see the rest of the blog post for the details.

If you have some news you’d like us to share in the next issue, let us know using the #community-news channel on the Gradle Community Slack or by mentioning @Gradle on Twitter/X.

Until next time!
— The Gradle Team

Gradle Inc. | 2261 Market Street | San Francisco, CA 94114
Privacy Policy | Unsubscribe