Skip to content

Instantly share code, notes, and snippets.

@wangerekaharun
Created August 11, 2020 10:06
Show Gist options
  • Save wangerekaharun/5f22e9ec5c900fc2a543bb2f0977f210 to your computer and use it in GitHub Desktop.
Save wangerekaharun/5f22e9ec5c900fc2a543bb2f0977f210 to your computer and use it in GitHub Desktop.
Root Project Gradle File Congiguration using the buildscript block
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath(BuildPlugins.androidGradlePlugin)
classpath(BuildPlugins.kotlinGradlePlugin)
}
}
allprojects {
repositories {
google()
jcenter()
}
}
tasks.register("clean").configure{
delete("build")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment