Goals
- Know the challenges and possibilities of Gradle scripts in a development team
- Be able to set up and maintain multiple projects with Gradle
Program
Gradle: overview of the build system, uses
Gradle vs other systems (Ant, Maven)
Projects and tasks
Build file (build.gradle)
Project configuration and description
IDE support
Installation modes, JVM option, .gitignore
Plugin systems Gradle
Workshop: installation and configuration of Gradle – SCM plugins: Git, SVN
Managing dependencies with Gradle
Specifying library repositories
Managing the Gradle cache
Lab: Adding dependencies and configuring repositories
Default Gradle Tasks
Creating a Custom Task
Structure of a Task Task
Dependencies
Skip a
Gradle Wrapper Task
Workshop: Creation and execution of several tasks
Plugins available
Construction of Java / Android projects: layout, init task, version specification, construction
Construction of Groovy
Tester projects with Gradle: naming conventions, inclusions / exclusions
Multi-project construction and dependency management
Deployment with Gradle
Coupling with Ant
Coupling with Maven: conversion of Maven projects, publication with maven-publish-plugin
Gradle and IDEs
Workshop: construction and deployment of projects
Plugins: need, structure
Implementation of a plugin, configuration
Deployment
Workshop: Creation and deployment of a plugin to a local Maven repository
Duration
2 days
Price
£ 1280
Audience
Java Developer, Groovy
Prerequisites
Scripting concepts
Reference
JAV1067-F
Sessions
From 06/04/2021 to 08/04/2021 (example)
Dates ?
Dates ?