This repository contains examples and assignments from Gradle Plugin Development Udemy course.
All examples are written using Groovy Gradle build scripts and additional code in Java 17. Projects were created with IntelliJ IDEA. Every project comes bundled with Gradle wrapper version 8.2 or higher.
Below is the menu for easier navigation between sections. Every section contains multiple examples or assignments with the focus on a particular topic.
Module | Description | External Link |
---|---|---|
task | This directory contains assignments and examples with the focus on Gradle tasks. The task is sorting files. Those tasks will be the base for plugin development. | Task Assignment |
script-plugin | Script plugin is the easiest possible way of extracting tasks and any additional build logic from original build.gradle file. | Script Plugin Lectures |
precompiled-script-plugin | Going step further one can extract script plugin into precompiled script plugin. | Precompiled plugin lecture |
binary-plugin | Binary plugin is the most powerful way of writing and packaging a plugin. You'll be able to share the plugin within your own private maven repository or through Gradle Plugin Portal. | Binary Plugin Lectures |
For any changes or additional content check release notes.
If you spot any issue in descriptions or source code, if you have any suggestions don't hesitate and open an issue.