Skip to content

Instantly share code, notes, and snippets.

@carlosgub
Last active September 20, 2019 03:35
Show Gist options
  • Save carlosgub/9d4e8d1ccda6a426b3341ad8efa58cc5 to your computer and use it in GitHub Desktop.
Save carlosgub/9d4e8d1ccda6a426b3341ad8efa58cc5 to your computer and use it in GitHub Desktop.
Kotlin DSL Medium Fifth
buildscript {
repositories {
google()
jcenter()
}
//Usamos las variables del objeto Build
dependencies {
classpath (Build.androidGradlePlugin)
classpath (Build.kotlinGradlePlugin)
classpath (Build.googleServicesPlugin)
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
//El script de clean a Kotlin DSL
tasks.register("clean").configure {
delete("build")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment