Gradle Kotlin DSL
Welcome! The Gradle Kotlin DSL provides support for writing Gradle build scripts using JetBrains' Kotlin language. It aims to provide Gradle users with a rich, flexible and statically-typed approach to developing build logic in conjunction with the best IDE and tooling experience possible.
You can read more about the project in our announcement blog post and check out the frequently asked questions in the project wiki.
Getting Started
The fastest way to get up and running with a Kotlin-based Gradle build is to work with one of the samples. You'll find complete instructions in the README there. There are also some helpful getting started notes for when your build logic gets more complicated.
Issue Tracking
Found a bug? Have an idea for an improvement? Feel free to add an issue.
If you're dealing with what you believe to be an issue with Kotlin itself or the Kotlin Plugin for IDEA, you may want to search JetBrains' YouTrack first to see if it is a known issue. In any case, feel free to add an issue here for it as well. We'd like to know and track what our users are experiencing regardless whether the issue is with the Gradle Kotlin DSL or with Kotlin itself.
Staying in Touch
Come chat with us in the #gradle channel of the public Kotlin Slack instance.
Limitations
settings.gradle
cannot yet be written Kotlin, continue to use Groovy there for now.
License
Like the rest of Gradle, the Gradle Kotlin DSL is released under version 2.0 of the Apache License.