Modern Gradle Fundamentals

Learn how to efficiently structure and build software projects with Gradle 7 or 8

4.56 (572 reviews)
Udemy
platform
English
language
Programming Languages
category
Modern Gradle Fundamentals
2,972
students
3 hours
content
Aug 2022
last update
$79.99
regular price

What you will learn

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

Why take this course?

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

Screenshots

Modern Gradle Fundamentals - Screenshot_01Modern Gradle Fundamentals - Screenshot_02Modern Gradle Fundamentals - Screenshot_03Modern Gradle Fundamentals - Screenshot_04

Reviews

Martijn
August 29, 2023
This course was a great experience for me. My reason to start doing this course was to understand Gradle better because I was going to do work on a code repository that uses several large Gradle (5.x) build scripts written in Groovy. I did not have any prior Gradle experience, nor did I know how to write Groovy or Kotlin. My lack of knowledge and understanding made the scripts difficult to understand. After only a couple of lessons, I already started completely re-building the Gradle project structure as outlined in the course, and achieved amazing improvements both in understanding as well as performance. I've now finished this course and am working on finishing my Gradle scripts. My new project setup is magnitudes faster because it is using caching effectively and is building projects in parallel, all with only a fraction of the amount of code compared to the old scripts. I found the instructions and explanations very clear and helpful for what I was doing. In my project I decided to use Gradle 8 which is different from the version 7 used by Jendrik, but everything in this course seems to work perfectly well in version 8 as well. Thank you so much Jendrik!
Robert
July 28, 2023
I really enjoyed this course as it contains many valuable insights to the topic. At first I had a hard time to follow, since the explaining and the hands on parts overlap. I had to adapt my way of study and then I followed everything just fine (first I watched the lecture video without coding along and then I rewatched it and coded along). I think if you would seperate the explaining from the hands on part, the course would profit. But I learned a lot and will recommend this course to colleagues eager to learn gradle basics. Thank you
Alexander
June 15, 2023
Great introduction to Gradle (7). It is concise and covers all the basics in setting up a successful Gradle-managed project. I wish it was updated for version 8, however it is still very relevant.
Ebadul
June 14, 2023
Gradle DSL is a complex topic. But this course does well to explain the fundamentals with great examples.
Neil
May 31, 2023
An excellent course. This demystifies the black art of gradle builds, and establishes best practices.
Kirill
May 27, 2023
This is the best video content about Gradle. I came here from the YouTube playlist "Understanding Gradle"
Hessam
May 21, 2023
Helped me really well to understand the fundamentals of Gradle. I loved that it was up-to-date unlike other gradle courses which were from dinosaurs era. I look forward to the continuation of this series. Like gradle on Android in-depth and etc. Good job overall!
Rafael
March 14, 2023
Gradle looks complicated and intimidating at first, but this course clarifies many things in a nice, well-explained way. Thank you for this course!
Tsering
February 25, 2023
remarkable and covered all the necessary topic with examples and very details, can't ask for more than this. thank you for making this course
Jonathan
February 20, 2023
I hava had to work with gradle based projects before and this course helped me to fill the knowledge gaps I had and to know how to use better Gradle in the future.
Violeta
February 6, 2023
Very well structored course! Recommended! There are not many courses which teach how to use Kotlin DSL
Geoffry
January 28, 2023
This course gives you the skills you need to setup gradle in your java projects the right way from the start.
Hua
January 26, 2023
Might just reading a boring book and get better understanding of it. Build should be fun and interactive. The way course structured is horrible.
Antonio
January 20, 2023
Excellent course! The instructor explains everything nicely with examples and teaches us the best practices.
Marek
January 15, 2023
The course is rather brief. It covers the basics necessary for most developers and gives foundation to build upon. Dependency management and testing sections are sufficient in my opinion. Tasks section leaves a little bit to be desired. In my view this is the most complex aspect of Gradle and after finishing it I don't think I have confidence and knowledge to configure my own tasks in real life scenarios. This course has benefited a lot my understanding of how Gradle works "under the hood", less so my practical ability to use it.

Charts

Price

Modern Gradle Fundamentals - Price chart

Rating

Modern Gradle Fundamentals - Ratings chart

Enrollment distribution

Modern Gradle Fundamentals - Distribution chart

Related Topics

4771606
udemy ID
7/8/2022
course created date
8/15/2022
course indexed date
Bot
course submited by