This more advanced tutorial offers the recipes, strategies, and syntax to help you grasp this build automation tool if you are already familiar with the fundamental components of Gradle, presumably through the author's earlier O'Reilly book, Building, and Testing with Gradle.
You'll examine four distinct aspects of Gradle functionality: file operations, unique Gradle plugins, build lifecycle hooks, and dependency management. There are plenty of ready-to-use code examples throughout the book.
Learn how to customize and build software that truly complies with your product using Gradle's broad collection of APIs and Groovy-based DSL. You'll be able to construct domain-specific builds that support every other piece of code your team does by utilizing the methods in this book.
- Examine Gradle's file API, including copy tasks, pattern matching, content filtering, and the FileCollection interface
- Understand the process for building and packaging a custom Gradle plug-in
- Manage build complexity with hook methods and Gradle's rule feature
- Learn how Gradle handles dependency management natively and through customization
- Explore Gradle's core plug-ins as well as key examples from the Gradle community