February 2014
Intermediate to advanced
480 pages
13h 43m
English
Gradle’s command-line interface (CLI) is a user’s primary tool of choice for discovering available options, inspecting the project, and controlling execution behavior by providing configuration information. It consists of three parts: discovery or help tasks, build setup tasks, and configuration input. The gradle command has the following usage:
gradle [option...] [tasks...]
Many discovery tasks provide information about the build. If you’re new to a project, they’re a good place to start discovering the configuration. They’re implemented as Gradle tasks. Every Gradle build provides the discovery tasks shown in table A.1 from the get-go.