𝔖 Scriptorium
✦   LIBER   ✦

📁

Gradle Beyond the Basics

✍ Scribed by Tim Berglund


Publisher
O'Reilly Media
Year
2013
Tongue
English
Leaves
80
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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

✦ Table of Contents


Copyright......Page 4
Table of Contents......Page 5
Conventions Used in This Book......Page 7
How to Contact Us......Page 8
Acknowledgments......Page 9
Copy Task......Page 11
Renaming Files During Copy......Page 13
Keyword Expansion......Page 14
Filtering Line by Line......Page 16
Filtering File by File......Page 18
file()......Page 19
files()......Page 21
The FileCollection Interface......Page 22
Converting to a Path String......Page 24
Module Dependencies as FileCollections......Page 25
Adding and Subtracting FileCollections......Page 26
SourceSets as FileCollections......Page 27
Lazy Files......Page 28
Conclusion......Page 29
Plug-In Philosophy......Page 31
The Example Plug-In......Page 32
Setup......Page 33
Custom Liquibase Tasks......Page 34
Applying Yourself......Page 35
Extensions......Page 36
Packaging a Plug-In......Page 41
Conclusion......Page 43
The Gradle Lifecycle: A Review......Page 45
Advising Project Evaluation......Page 46
Global Project Loading and Evaluation Hooks......Page 48
Build Finished......Page 49
Rules......Page 51
Creating a Rule......Page 52
Dealing with Imperative Rule Code......Page 53
Generalizing Rules Beyond Tasks......Page 55
Conclusion......Page 56
What Is Dependency Management?......Page 57
Dependency Concepts......Page 58
Configurations......Page 59
Module Dependencies......Page 61
File Dependencies......Page 63
Project Dependencies......Page 64
Internal Dependencies......Page 65
Maven Repositories......Page 66
Ivy......Page 69
Repository Credentials......Page 70
Static Dependencies......Page 71
Buildscript Dependencies......Page 73
Dependency Caching......Page 74
Forcing Versions......Page 76
Conclusion......Page 77
Afterword......Page 79
About the Author......Page 80


📜 SIMILAR VOLUMES


Gradle Beyond the Basics
✍ Tim Berglund 📂 Library 📅 2013 🏛 O'Reilly Media 🌐 English

<DIV><p>If you’re familiar with Gradle’s basics elements—possibly through the author’s previous O’Reilly book, <i>Building and Testing with Gradle</i>—this more advanced guide provides the recipes, techniques, and syntax to help you master this build automation tool. With clear, concise explanations

Gradle Beyond the Basics
✍ Tim Berglund 📂 Library 📅 2013 🏛 O'Reilly Media 🌐 English

<p>If you're familiar with Gradle's basics elements&#8212;possibly through the author's previous O'Reilly book, <i>Building and Testing with Gradle</i>&#8212;this more advanced guide provides the recipes, techniques, and syntax to help you master this build automation tool. With clear, concise expla

Gradle Beyond the Basics
✍ Tim Berglund 📂 Library 📅 2013 🏛 O'Reilly Media 🌐 English

If youre familiar with Gradles basics elements - possibly through the authors previous OReilly 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 re

Gradle Beyond the Basics: Customizing Ne
✍ Tim Berglund 📂 Library 📅 2013 🏛 O'Reilly Media 🌐 English

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 o

Epidemiology: Beyond the Basics
✍ Moyses Szklo, F. Javier Nieto 📂 Library 📅 2018 🏛 Jones & Bartlett Learning 🌐 English

Written for those who are familiar with the basic strategies of analytic epidemiology, Epidemiology: Beyond the Basics takes readers through a more rigorous discussion of key epidemiologic concepts and methods such as study design, measures of association, research assessment, and more. <br>With rea