D-GRDL
Gradle
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

  1. Introduction
  2. Groovy for Gradle
  3. Installing Gradle
    • Environment variables
    • Testing your installation
  4. Quick Tour of Gradle
    • Creating build scripts Decla ring dependencies
    • Acc essing repositories
    • Using plugins
    • Configuring the directed acyclic graph
  5. Building Java projects
    • Standard project structure
    • The Java plugin
    • Running tests
  6. Building Groovy projects
    • The Groovy project structure
    • Working with both Groovy and Java
    • Executing tests with both JUnit and Spock
  7. Defining Tasks
    • Declaring tasks
    • Defining project properties
    • Setting dependencies
    • Using doFirst and doLast
    • Using the built-in task types
  8. The Gradle Daemon
    • Usage and troubleshooting
    • Configuring the daemon
  9. Web projects
    • Standard web layout
    • The war and jetty plugins
    • Customizing web projects
  10. IDE Integration
    • Eclipse projects
    • IntelliJ IDEA
  11. The Gradle wrapper
    • Specifying versions
    • Generating the scripts
  12. 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

Duration

2 days

Format

Instructor Lead

Prerequisites

prior experience of JAVA and eclipse