There are many tutorials about writing custom Gradle plugins on the Internet. For example this official one. However, most of them use Groovy and plugins consisting of “Hello world” only. In this post, we will solve a real problem with a custom Gradle plugin written in Kotlin!
Project link: https://www.thedroidsonroids.com/blog/how-to-create-gradle-plugin-in-kotlin