In this short series, we are going to dig a bit in how one writes a gradle plugin. Our plugins won’t do anything useful except some println; however I hope to manage to explain some concept and to save you some time in case you have to write one. The source code for this tutorial is available on github at https://github.com/andreabergia/sample-gradle-plugin. Our first plugin The repository is split in two projects: gradleplugin and usage.