Gradle Beyond the Basics: Customizing Next-Generation Builds

Gradle Beyond the Basics: Customizing Next-Generation Builds

Gradle Beyond the Basics: Customizing Next-Generation Builds

Gradle Beyond the Basics: Customizing Next-Generation Builds

Paperback

$24.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

If you’re familiar with Gradle’s basics elements—possibly through the author’s previous O’Reilly book, Building and Testing with Gradle—this more advanced guide provides the recipes, techniques, and syntax to help you master this build automation tool. With clear, concise explanations and lots of ready-to-use code examples, you’ll explore four discrete areas of Gradle functionality: file operations, custom Gradle plugins, build lifecycle hooks, and dependency management.

Learn how to use Gradle’s rich set of APIs and Groovy-based Domain Specific Language to customize build software that actually conforms to your product. By using the techniques in this book, you’ll be able to write domain-specific builds that support every other line of code your team creates.

  • 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

Product Details

ISBN-13: 9781449304676
Publisher: O'Reilly Media, Incorporated
Publication date: 08/02/2013
Pages: 78
Product dimensions: 6.90(w) x 9.00(h) x 0.20(d)

About the Author

Tim is a full-stack generalist and passionate teacher who loves coding, presenting, and working with people. He is founder and principal software developer at the August Technology Group, a technology consulting firm focused on the JVM. He is a speaker internationally and on the No Fluff Just Stuff tour in the United States, co-presenter of the best-selling O'Reilly Git Master Class, and is co-president of the Denver Open Source User Group. He has recently been exploring build automation, non-relational data stores, and abstract ideas like how to make software architecture look more like an ant colony. He lives in Littleton, CO with the wife of his youth and their three children.

Table of Contents

Preface; Conventions Used in This Book; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1: File Operations; 1.1 Copy Task; 1.2 Filtering and Transforming Files; 1.3 The File Methods; 1.4 The FileCollection Interface; 1.5 Lazy Files; 1.6 Conclusion; Chapter 2: Custom Plug-Ins; 2.1 Plug-In Philosophy; 2.2 The Plug-In API; 2.3 The Example Plug-In; 2.4 Setup; 2.5 Sketching Out Your Plug-In; 2.6 Packaging a Plug-In; 2.7 Conclusion; Chapter 3: Build Hooks; 3.1 The Gradle Lifecycle: A Review; 3.2 Advising the Build Graph; 3.3 Advising Project Evaluation; 3.4 Rules; 3.5 Conclusion; Chapter 4: Dependency Management; 4.1 What Is Dependency Management?; 4.2 Dependency Concepts; 4.3 Repositories: Dependency Resolution; 4.4 Buildscript Dependencies; 4.5 Dependency Caching; 4.6 Configuring Resolution Strategy; 4.7 Conclusion; Afterword; Colophon;
From the B&N Reads Blog

Customer Reviews