In the previous part of this series we have started writing our own gradle plugin. Let’s go on. As last time, the code can be seen at https://github.com/andreabergia/sample-gradle-plugin/tree/b7aeccc31e6285d2fbe4dab8024d1d1cbbddf698. Creating a Task class A rather common thing to do when writing a Gradle plugin is to create a class that implements the Task interface. In turn, this allows users of your plugin to create tasks of your class, which will execute a Groovy (or Java) method when th...