# Gradle Kotlin DSL 1.0

DevFeed: [Gradle Kotlin DSL 1.0](<https://devfeed.tech/articles/gradle-kotlin-dsl-1-0-24664.md>)

Original publisher: [Read original article](<https://blog.gradle.org/kotlin-dsl-1.0>)

Author: Paul Merlin

Published: 2018-12-10T05:00:00Z

Content type: article

Language: en

Sources: [The Gradle Blog](<https://devfeed.tech/sources/the-gradle-blog.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [ide](<https://devfeed.tech/topics/ide.md>), [Groovy](<https://devfeed.tech/topics/groovy.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [android-studio](<https://devfeed.tech/tags/android-studio.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [groovy](<https://devfeed.tech/tags/groovy.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [issue-tracker](<https://devfeed.tech/tags/issue-tracker.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [learning](<https://devfeed.tech/tags/learning.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [slack](<https://devfeed.tech/tags/slack.md>)

## AI overview

Gradle Kotlin DSL 1.0 is introduced as ready for widespread use in Gradle 5.0. The article explains its type-safe build authoring benefits in IntelliJ IDEA and Android Studio, including auto-completion, documentation access, source navigation, and context-aware refactoring. It also describes getting started, migrating from the Groovy DSL, available plugin documentation, and channels for community feedback.

## Source excerpt

The recently released Gradle 5.0 includes the Gradle Kotlin DSL v1.0 which is now ready for widespread use. We want you to enjoy a build authoring experience with the benefits provided by Kotlin's static type system in Intellij IDEA and Android Studio: auto-completion, smart content assist, quick access to documentation, navigation to source and context-aware refactoring. In case you missed it, you can watch Paul Merlin demonstrate these benefits in the Type-safe build logic with Gradle Kotlin DSL video from KotlinConf 2018. If you prefer the flexibility and dynamic features of Groovy, that's totally okay -- the Groovy DSL will not be deprecated. Using the Kotlin DSL today You can get started quickly by following the Creating New Gradle Builds guide. You can also follow one of the other guides like Building Kotlin JVM Libraries or Building Java Applications. The Gradle Kotlin DSL Primer user manual chapter is the best place to start learning more: it will cover all the basics and answer most of your questions. If you are working with an existing build using the Gradle Groovy DSL you'll be interested in the Migrating build logic from Groovy to Kotlin guide. Several community plugins now have Gradle Kotlin DSL snippets in their documentation: Spring Boot, Docker, Detekt, Kotlinter, APT, Android JUnit 5, Android Check 2, Android Play Publisher and the list goes on. Last but not least, the Gradle documentation contains build script excerpts that demonstrate both the Groovy DSL and the Kotlin DSL. This is the best place to find how to all things with each DSL; and it covers all Gradle features. Again, a big thank you to all who helped make this a reality! Feedback wanted Community involvement has been instrumental to reach 1.0. It is also crucial going forward. We want to know what you think works well or poorly in the Kotlin DSL. Feedback on the IDE experience, logging, and everything in between is welcome. Please discuss through the Kotlin DSL issue tracker or the #kotl