October 2018
Table of Contents
Introduction
Welcome to the October Newsletter!
This issue includes the releases of Gradle 5.0 RC1, Build Scan Plugin 2.0.1, and Gradle Enterprise 2018.4.2, the introduction of Exemplar, and assorted community news.
From the community #
- build.gradle vs. settings.gradle vs. gradle.properties – An informative article on what goes in each of the Gradle files by Kevin Wittek.
- What’s wrong with your Gradle Task? – An explanation of how tasks work and how to avoid some of the most common mistakes in your build script by Maciek Opała.
- Android Studio Pro-tips – Some useful tips for Android Studio users by Jean-Michel Fayard.
- Dagger 2.18 Released with support for Gradle Incremental Annotation Processing – If you are using Dagger 2.18, you can enable incremental annotation processing by passing
-Adagger.gradle.incremental
tojavac
- Gradle Play Publisher Plugin v2.0 RC was released – A plugin to help publish Android apps to the Google Play store has released a 2.0 release candidate.
- Tips and Tricks for using the Kotlin DSL – Some useful tips and tricks for the writing build scripts using the Kotlin DSL by Jean-Michel Fayard.
- Converting to the Gradle Kotlin DSL (日本人/Japanese) – The slidedeck from a tips and tricks talk given at the Japan Kotlin User Group by Matthew Vern.
- Setting Up Static Code Analysis for Java Projects Using Gradle – A guide/comparison of several available static code analysis tools for Java and how to add them using Gradle by Mladen Bolic.
- Using QueryDSL annotation processor with Gradle and IntelliJ IDEA – A tip for QueryDSL IntelliJ users by Tom de Vroomen.
- The Spring Boot Gradle Plugin Kotlin DSL exaples – The Spring Boot Gradle Plugin has added examples of both the Groovy and Kotlin DSLs.
- Kordamp Gradle Plugin Released – A set of opinionated Gradle plugins that aim to simplify Gradle builds by Andres Almiray.
- JMH Report Plugin - Version 0.9.0 of the JMH report plugin, a plugin to generate a visual report of JMH benchmarks, has been released.
- Shadow Plugin - The Shadow Plugin has a new logo and a new website thanks to John Engelman.
If you have a talk or blog post you’d like us to share in the next issue, use #gradle
on Twitter or send us an email with the details to newsletter@gradle.com.
Gradle 5.0 RC1 Release #
The Gradle Build Tool Team released the first 5.0 release candidate this week, Gradle 5.0 RC1. RC1 includes all of the features planned for 5.0 including all of the features planned for the Kotlin DSL 1.0 release, task timeouts, dependency version alignment, Java 11 support, improved gradle init, and more. It also includes some potentially breaking changes and removes some deprecated features as described in the upgrade guide.
Take a look at the RC1 Release Notes and the Upgrading from Gradle 4.X Guide to see how version 5.0 may affect your build. If you want to try the new Kotlin DSL, see the Groovy to Kotlin DSL Migration Guide. If you find bugs while upgrading to 5.0 RC1, please let us know by filing a issue on GitHub.
For Gradle Enterprise users, the newly released Gradle Enterprise 2018.4.2 is compatible with Gradle 5.0 and uses Build Scan Plugin 2.0.1 which has also been released with support for Gradle 5.0.
KotlinConf 2018 Recap #
Gradle ❤️ Kotlin so it makes sense that several Gradle engineers were in attendance at KotlinConf to promote the upcoming release of Kotlin DSL 1.0 and talk with the Kotlin community.
Paul Merlin gave a talk on Type-Safe Build Logic with Gradle Kotlin DSL. This talk shows how to switch from the Groovy DSL to the Kotlin DSL and some of the benefits of using the Kotlin DSL with IntelliJ and Android Studio like debuggable build scripts, source-lookup, and context-aware refactoring. This talk also covers the performance implications of using the Gradle Kotlin DSL. It’s a must-watch for everyone getting ready for the 1.0 release of the Kotlin DSL in Gradle 5.0.
Gradle hires a Developer Advocate #
October also marked an exciting new hire for Gradle, Inc. Jenn Strater joins the Developer Experience Team as a Developer Advocate for Gradle. She looks forward to helping everyone in the Gradle community achieve build happiness.
As always, please use the Gradle Forums for basic Gradle questions and report bugs by submitting an issue on GitHub. However, feel free to reach out to the Developer Experience team by email with:
- Requests for swag (stickers and t-shirts) for Gradle-related conference talks.
- Links to Gradle-related conference talks and blog posts you’d like them to promote on social media.
- Requests to look over a blog post, conference abstract, or Gradle-related slide deck.
- Invitations to speak about Gradle at conferences or meetups or to invite Jenn to be a guest on a podcast.
Droidcon SF #
Droidcon San Francisco is just around the corner! Join us on November 19-20th in learning from some of the top Android dev teams from around the country. 🎉👏
Stop by the Gradle booth to pick up free swag like stickers and T-shirts. Use this link for $100 off. 💃
October Blog Posts #
Gradle published 3 blog posts this month:
- Introducing Exemplar for Automated Samples Testing
- Gradle Plugin Portal Approval Policy Update
- How to show Groovy and Kotlin DSL samples side-by-side
Video Resources #
The following videos are available on the Gradle online training page:
- Improving Android and Java Build Performance
- Optimize your CI Pipeline: Hands-on with The Gradle Build Tool Team
- Maximizing Developer Productivity with Gradle Enterprise
Upcoming Events #
- Nov 6: Gradle Plugins en Groovy [y Kotlin]: escribir y publicar tus plugins de Gradle “made easy” (Español/Spanish) – Madrid GUG
- Nov 8: Why you should embrace Gradle and ditch Maven – J-Fall
- Nov 12-16: Switching to Gradle: maturity, performance, and pleasure! And Improving Android Build Performance – Devoxx Belgium
- Gradle will also have a booth. Stop by if you are interested in talking to an engineer about working for Gradle, Inc.
- Nov 13-14: Introduction to Gradle – Official Online Gradle Training
- Nov 19-20: Droidcon SF – Use promo code “Gradle” to get $100 off and stop by the Gradle booth
- Dec 6: Build Cache Deep Dive - Official Online Gradle Training
Job opportunities #
Gradle Inc. continues to grow. Will you help us shape the future of software automation? We’re currently looking for:
- Gradle Enterprise – back-end and front-end software engineers
- Gradle Build Tool – Software Engineer
- Developer Experience – Technical Writer
The details of these and other open positions available at gradle.com/careers.
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 newsletter@gradle.com.
Until next time!
—The Gradle Build Tool Team