This course is for build masters and developers who are authoring their builds. Participants will learn how to use the Gradle build system to substantially increase their productivity.

Description

Topics Include

Introduction

Groovy for Gradle

Installing Gradle

Environment variables

Testing your installation

Quick Tour of Gradle

Creating build scripts Decla ring dependencies

Acc essing repositories

Using plugins

Configuring the directed acyclic graph

Building Java projects

Standard project structure

The Java plugin

Running tests

Building Groovy projects

The Groovy project structure

Working with both Groovy and Java

Executing tests with both JUnit and Spock

Defining Tasks

Declaring tasks

Defining project properties

Setting dependencies

Using doFirst and doLast

Using the built-in task types

The Gradle Daemon

Usage and troubleshooting

Configuring the daemon

Web projects

Standard web layout

The war and jetty plugins

Customizing web projects

IDE Integration

Eclipse projects

IntelliJ IDEA

The Gradle wrapper

Specifying versions

Generating the scripts

Multi-project builds

Using settings.xml

Consolidating configuration properties

Making one subproject depend on another

Audience

Ideal for programmers who want to use Gradle on their projects. This class is also appropriate for the existing Gradle user who is interested in developing a greater understanding of the Gradle fundamentals