Skip to content

Instantly share code, notes, and snippets.

@pavan5208
Created June 20, 2021 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavan5208/d1f74980ca717ee14b5b5a00b2343c30 to your computer and use it in GitHub Desktop.
Save pavan5208/d1f74980ca717ee14b5b5a00b2343c30 to your computer and use it in GitHub Desktop.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlin_version = "1.5.0"
repositories {
google()
mavenCentral()
}
dependencies {
classpath ("com.android.tools.build:gradle:4.2.1")
classpath ("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
}
tasks.register("clean", Delete::class){
delete(rootProject.buildDir)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment