JAVA-GDL
Java projects with Gradle
Using Gradle, Gradle Java Plugin, lifecycle
Description
The aim of the training is to provide a detailed introduction to the Gradle tool. The training includes a number of practical exercises using the command line, IntelliJ IDEA development tool and JUnit unit test framework.
Outline
- Simple project with Gradle, Gradle Java Plugin
- Build script basics, Groovy basics, Gradle Object Model
- Gradle lifecycle
- Phases
- Tasks, task dependencies, extend task
- Dependency Management
- Create library module
- Multi-project
- Run automated tests
- Coverage measurement with Jacoco
- Static code analysis
- Artifact assembly, publishing
- Logging
- File management
- Build and run web application
- Build and deploy Java EE application
- Gradle wrapper
- Gradle extension, plugins
Prerequisites
"
Knowledge of the following topics is required: using the Java development tool, basic unit testing, packages, expressions, statements, control structures (branch and loop), primitive types, arrays, basic use of enums and classes, abstract classes and interfaces. Web application development basics.