Gradle Beyond the Basics - Tim Berglund

Gradle Beyond the Basics

Customizing Next-Generation Builds

(Autor)

Buch | Softcover
80 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-0467-6 (ISBN)
22,40 inkl. MwSt
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

Tim Berglund 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.

Chapter 1 File Operations
Copy Task
Filtering and Transforming Files
The File Methods
The FileCollection Interface
Lazy Files
Conclusion
Chapter 2 Custom Plug-Ins
Plug-In Philosophy
The Plug-In API
The Example Plug-In
Setup
Sketching Out Your Plug-In
Packaging a Plug-In
Conclusion
Chapter 3 Build Hooks
The Gradle Lifecycle: A Review
Advising the Build Graph
Advising Project Evaluation
Rules
Conclusion
Chapter 4 Dependency Management
What Is Dependency Management?
Dependency Concepts
Repositories: Dependency Resolution
Buildscript Dependencies
Dependency Caching
Configuring Resolution Strategy
Conclusion
Afterword
Colophon

Erscheint lt. Verlag 10.9.2013
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 141 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge Eclipse
Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-4493-0467-2 / 1449304672
ISBN-13 978-1-4493-0467-6 / 9781449304676
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Kennenlernen. Verstehen. Effizient nutzen.

von Thomas Künneth

Buch (2018)
Hanser, Carl (Verlag)
39,00