# Reference, android, androiddev, gradle, groovy, kotlin

Published articles for Reference, android, androiddev, gradle, groovy, kotlin.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## build.gradle.kts conversion for Android Studio Empty Activity

DevFeed: [build.gradle.kts conversion for Android Studio Empty Activity](<https://devfeed.tech/articles/build-gradle-kts-conversion-for-android-studio-empty-activity-24904.md>)

Original publisher: [Read original article](<https://blog.blundellapps.co.uk/build-gradle-kts-conversion-for-android-studio-empty-activity/>)

Author: blundell

Published: 2023-07-05T09:45:18Z

Content type: tutorial

Language: en

Sources: [Blundell](<https://devfeed.tech/sources/blundell.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [build](<https://devfeed.tech/tags/build.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [groovy](<https://devfeed.tech/tags/groovy.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [reference](<https://devfeed.tech/tags/reference.md>), [reference-android-androiddev-gradle-groovy-kotlin](<https://devfeed.tech/tags/reference-android-androiddev-gradle-groovy-kotlin.md>)

### AI overview

The post provides a Kotlin DSL (`build.gradle.kts`) conversion of the default Groovy `build.gradle` from Android Studio's Empty Activity template. It points readers to Google's Groovy-to-Kotlin build script explainer and Gradle's Kotlin DSL primer, and notes Google's announcement that Kotlin build scripts would become the default. The excerpt does not include the converted script itself.

### Source excerpt

Quick blog posting showing you the build.gradle.kts version of the default build.gradle file from the "empty activity" Android Studio template. This post will go stale fast, get it whilst its hot. 🙂 The original templates come from the New Project, other templates are explained here: https://developer.android.com/studio/projects/templates Google has an explainer of converting build configuration scripts [...] The post build.gradle.kts conversion for Android Studio Empty Activity first appeared on Blundell.