Since version 5.0, Gradle offers a way to write Gradle scripts in Kotlin. Before Gradle Kotlin support, Groovy was used to write Gradle scripts, and if you are not familiar with Gradle DSL, it is very hard to get into it, as it is not offering good auto-completion. So what…