Mô tả

Gradle is one of the most advanced build tools for Java and other JVM languages like Kotlin, Groovy and Scala.

In this course you learn how to structure your software project with Gradle to get the most out of it.

This course is hands-on. Together, we build up a project from scratch, learning Gradle features one-by-one. While we do this on the example of a Java project, the gained knowledge can be transferred to any kind of software project built with Gradle.

Whatever automation task you would like to tackle: This course is for you to unlock the full power of Gradle.

No prior Gradle knowledge is required and you learn the latest best practices of Gradle 7 and beyond.

The video instructions are packed with information. To follow along, you will likely pause the videos regularly to explore the example and make sure it works for you. You should plan in ~3 times the duration of a video to work through the corresponding lecture.

Topics Overview

  • Gradle Configuration Language (Gradle's DSL)

  • Define a Project Structure - Settings File and Gradle Wrapper

  • Give Meaning to Components/Subprojects - Build Files

  • Centralise Build Configuration - Convention Plugins

  • Compose an Application - add Dependencies

  • Run the Build - with Incremental Building and Caching

  • Configure Tasks added by Plugins

  • Register new Tasks using existing Task Implementations

  • Implement your own Build Logic in a Task

  • Make your Project accessible through Lifecycle Tasks

  • Dependency Scopes (aka Configurations)

  • Central Places for Dependency Versions - Platform Projects / Dependency Version Catalogs

  • Conflicts and Component Metadata Rules

  • Source Sets

  • Configuring Testing

  • Kotlin vs Groovy DSL

  • Writing Build Configuration in Java

Bạn sẽ học được gì

The fundamental Gradle concepts

How to structure Gradle projects - efficiently to work with and maintainable

Understanding the Gradle DSL (Kotlin and Groovy variant)

Gradle build configuration: Settings File, Build Files and Convention Plugins

Gradle build execution: Tasks, Task Inputs/Outputs, Task Dependencies

Dependency management: Scopes/Configurations, Repositories, Versioning

Configuring Testing with Gradle

Using Java to configure Gradle

Yêu cầu

  • You should be familiar with IntelliJ IDEA and the programming languages (e.g. Java) for which you want to setup a project with Gradle. You do not need any prior knowledge about Gradle itself.

Nội dung khoá học

6 sections

Project Structure

7 lectures
Introduction
01:05
Gradle Configuration Language - Gradle's DSL
03:44
Define a Project Structure - Settings File and Gradle Wrapper
13:59
Give Meaning to Components/Subprojects - Build Files
09:10
Centralise Build Configuration - Convention Plugins
14:51
Compose an Application - add Dependencies
07:26
Run the Build - with Incremental Building and Caching
11:57

Configure and Register Tasks

4 lectures
Configure Tasks added by Plugins
04:53
Register new Tasks using existing Task Implementations
06:22
Implement your own Build Logic in a Task
10:32
Make your Project accessible through Lifecycle Tasks
03:32

Dependency Management

4 lectures
Dependency Scopes (aka Configurations)
11:28
Central Place for Dependency Versions - Platform Project (Option 1)
08:10
Central Place for Dependency Versions - Dependency Version Catalog (Option 2)
04:12
Conflicts and Component Metadata Rules
08:04

Testing

2 lectures
Source Sets
08:32
Configure Testing
09:56

Using Groovy or Java for Build Configuration (instead of Kotlin)

2 lectures
The Groovy DSL
08:44
Write Convention Plugins in Java
23:00

Summary

1 lectures
Summary
00:34

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.