This repository contains hands-on examples about how you can implement and test gradle tasks. Each different branch contains an example.
Branch name | content |
---|---|
local-tasks | Basic example about how you can register custom gradle tasks for a project |
gradle-task-class | An OOP way to define reusable tasks |
gradle-plugin-class | An example about a generic class to create a standalone plugin with its own tasks and extensions |
gradle-precompiled-scripts | An other way to create a plugin in a more lightweight way. Also contains examples for testing plugins |