Last active
September 20, 2019 03:35
-
-
Save carlosgub/9d4e8d1ccda6a426b3341ad8efa58cc5 to your computer and use it in GitHub Desktop.
Kotlin DSL Medium Fifth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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