2020-05-24 05:45:10 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
plugins {
|
2021-02-26 20:53:53 +08:00
|
|
|
id("com.github.ben-manes.versions") version "0.36.0"
|
2020-05-24 05:45:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
2021-02-26 20:53:53 +08:00
|
|
|
val kotlinVersion = "1.4.30"
|
2020-05-24 05:45:10 +08:00
|
|
|
extra.set("kotlinVersion", kotlinVersion)
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
2022-06-09 12:40:54 +08:00
|
|
|
mavenCentral()
|
2020-05-24 05:45:10 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-02-26 20:53:53 +08:00
|
|
|
classpath("com.android.tools.build:gradle:4.1.2")
|
|
|
|
classpath("com.github.ben-manes:gradle-versions-plugin:0.36.0")
|
2020-05-24 05:45:10 +08:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2022-06-09 12:40:54 +08:00
|
|
|
mavenCentral()
|
2020-05-24 05:45:10 +08:00
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register<Delete>("clean") {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|