Skip to Content
Gradle in Action
book

Gradle in Action

by Benjamin Muschko
February 2014
Intermediate to advanced
480 pages
13h 43m
English
Manning Publications
Content preview from Gradle in Action

Appendix B. Groovy for Gradle users

Gradle’s core functionality is built with Java. On top of this functionality sits a domain-specific language (DSL) written in the dynamic programming language Groovy. When writing a Gradle build script, you automatically use the language constructs exposed by this DSL to express the desired build instructions. Gradle build scripts are executable Groovy scripts, but they can’t be run by the Groovy runtime. When the need to implement custom logic arises, you can use Groovy’s language features to build out the desired functionality directly in the Gradle build script. This appendix is a primer to Groovy and explains why it’s important for users of Gradle to learn the language. Later, I’ll also demonstrate how ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gradle Fundamentals

Gradle Fundamentals

Ken Kousen
Java 8 in Action

Java 8 in Action

Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
Spring Microservices in Action, Second Edition

Spring Microservices in Action, Second Edition

John Carnell, Illary Huaylupo Sanchez

Publisher Resources

ISBN: 9781617291302Supplemental ContentPublisher SupportPublisher WebsiteSupplemental ContentPurchase Link