Given at Droidcon Italy 2018
Every Android Developer is familiar with Gradle, right?
We know how to apply a plugin, how to setup the Android extension and how to declare our dependencies.
But from where does the Android extension come from?
Which settings are possible here?
How can a task use these information to run a specific action?
I'll explain all the Gradle magic by showing how to write a Gradle plugin.
The plugin will be pretty simple and straightforward but shows you what Gradle does behind the scenes.
Naturally we will write the plugin in Kotlin.
We will also cover a little bit about Gradle's Kotlin DSL.
Basically you will leave my talk knowing the basics of the Gradle plugin development:
* How can I declare my own task?
* How can I declare my own extension?
* How can I test my plugin?