Analysis updated 2026-07-03
Browse historical examples of Gradle build scripts written in Kotlin to understand the syntax before migrating your project.
Reference the sample build configurations when converting an existing Groovy-based Gradle project to the Kotlin DSL.
| gradle/kotlin-dsl-samples | bufferapp/android-clean-architecture-boilerplate | element-hq/element-android | |
|---|---|---|---|
| Stars | 3,687 | 3,686 | 3,685 |
| Language | Kotlin | Kotlin | Kotlin |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
This repository is obsolete and unmaintained, use the official Gradle documentation for current guidance on Kotlin DSL.
This repository was created by the Gradle team as a collection of sample projects demonstrating how to write Gradle build scripts using Kotlin instead of Groovy. Gradle is the build tool most commonly used in Android and Java projects to automate compiling code, running tests, and packaging apps. Build scripts tell Gradle how to do that work, and for a long time they were written in a language called Groovy. The Kotlin DSL option, shown in these samples, lets developers write those same build instructions in Kotlin instead. The repository is now marked obsolete by its maintainers. The samples are no longer maintained or updated. Anyone looking for current guidance on using Kotlin with Gradle should consult the official Gradle documentation, which the README links to directly. The README for this project is very short and provides no additional detail about the original sample contents. The stars this repository accumulated reflect its historical usefulness when Kotlin DSL support in Gradle was newer and documentation was harder to find elsewhere.
A now-obsolete collection of sample Gradle build scripts written in Kotlin instead of Groovy, created by the Gradle team to show the Kotlin DSL in action.
Mainly Kotlin. The stack also includes Kotlin, Gradle, Java.
Apache 2.0, use freely for any purpose including commercial, just keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.