This is small overview how to migrate your groovy buildfiles into Kotlin DSL.
Using the Kotlin DSL for gradle build files improves the editors typing experience in many ways.
First of all, the groovy syntax doesn't support refactoring nor auto-completion while editing in most IDEs.
Build import | Syntax highlighting | Semantic editor | |
---|---|---|---|
IntelliJ IDEA | ✓ | ✓ | ✓ |