2021-11-07 16:50:28 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2021-11-19 14:08:52 +08:00
|
|
|
// ext {
|
|
|
|
// compose_version = "1.0.5"
|
|
|
|
// kotlin_version = "1.5.31"
|
|
|
|
// }
|
2021-11-07 16:50:28 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2021-11-19 14:08:52 +08:00
|
|
|
val kotlinVersion= "1.5.31"
|
2021-12-14 11:34:20 +08:00
|
|
|
classpath("com.android.tools.build:gradle:7.0.4")
|
2021-11-19 14:08:52 +08:00
|
|
|
classpath(kotlin("gradle-plugin", version = kotlinVersion))
|
2021-11-07 16:50:28 +08:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-19 14:08:52 +08:00
|
|
|
tasks.register<Delete>("clean").configure {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|