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

Chapter 4. Build script essentials

This chapter covers

  • Gradle’s building blocks and their API representation
  • Declaring new tasks and manipulating existing tasks
  • Advanced task techniques
  • Implementing and using task types
  • Hooking into the build lifecycle

In chapter 3, you implemented a full-fledged Java web application from the ground up and built it with the help of Gradle’s core plugins. You learned that the default conventions introduced by those plugins are customizable and can easily adapt to nonstandard build requirements. Preconfigured tasks function as key components of a plugin by adding executable build logic to your project.

In this chapter, we’ll explore the basic building blocks of a Gradle build, namely projects and tasks, and ...

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