Software SKILLNET

Introduction to Gradle


Introduction to Gradle
Start Date16th October 2014
Course CodeSS868
VenueDublin
Non-member
Full Fee
€600.00
Duration2 days
LocationDublin
Provider
Network Member Subsidised Fee€450.00
Download Course PDF  
  Course expired


Programme Overview

Gradle is an alternative to Maven which has quickly overtaken it as the default build tool in JEE. Unlike Maven a Gradle build script is a program written in the Groovy JVM scriptinglanguage, making it trivial to inject arbitrary functionality into the build process.

Course Objectives and Learning Outcomes
This course will enable developers to manage their builds with Gradle, extend the tool to shorten and simplify their deployment process and use Cradles power features to explore new forms of software development.
Who should attend
Delegates must be proficient with a JVM language (Java, Groovy, Scala or Clojure) with at least one years’ experience developing applications in industry
Course Content

Overview of Build Automation

  •  The early days of Make and Ant
  •  How Rake pioneered DSL's in 'RoR'
  •  Why Maven became dominant in JEE
  •  Issues with the Maven approach
  •  The emergence of Gradle

 

Introduction to Groovy

  • Dynamic typing within the JVM
  • Basic syntax and concepts
  • Closures and functional programming
  • Techniques for building DSL's

 

Introducing Gradle

  • Creating a build script for a console application
  • Making the script self-contained via the Wrapper
  • Configuring and connecting to repositories
  • Managing dependencies and creating discrete scopes
  • Exclusions and controlling transitive dependencies

 

Gradle Builds in Depth

  • The lifecycle of a build within Gradle
  • Creating a graph of inter-dependent tasks
  • Managing the file system and source code control (VCS)
  • Configuring source sets using the Java plugin
  • Installing and managing additional plugins
  • Enabling TDD, BDD and CI using Gradle plugins
  • How the Gradle Daemon reduces start-up times
  • Documenting your script for external use

 

Advanced Uses of Gradle

  • Building multi-module JEE Web Applications
  • Enabling use of Java, Scala and Clojure within the same project
  • Running code quality tools (Checkstyle, Jacoco, PMD etc...)
  • Using Gradle to build Android and iOS mobile applications
  • Supporting alternative Java Web Architectures (e.g. Play)
  • Advantages of using Gradle to build C and C++ projects
Other course details

Gradle is an alternative to Maven which has quickly overtaken it as the default build tool in JEE. Unlike Maven a Gradle build script is a program written in the Groovy JVM scripting language, making it trivial to inject arbitrary functionality into the build process. This DSL (Domain Specific Language) based approach is the same as that used to great effect within the 'Ruby on Rails' web framework.

Gradle embeds micro frameworks (aka Plugins) which support all the standard tasks required of a built tool. It is fully interoperable with Maven and can (for example) download libraries from existing Maven repositories. In addition it is designed to enable the modern style of 'polyglot programming' - where multiple JVM languages are used within the same project.
About the Trainer

Garth Gilmour is one of Irelands most highly rated and experienced development trainers.

Since January 2000 Garth  has delivered over 500 courses, workshops and mentoring sessions – from which he have consistently achieved excellent feedback.

Typical examples of work include:

  • Bespoke programs for migrating experienced Java developers to .NET (and vice-versa)
  • Continuous mentoring to teams implementing their first JEE or .NET projects
  • Workshops for Java developers in Agile Methods, Design Patterns and UML
  • Induction programs lasting two to three months for large groups of IT graduates

  • Preparing candidates for the Sun Java certification process