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 {
|
|
|
|
repositories {
|
2022-10-09 10:51:27 +08:00
|
|
|
mavenLocal()
|
2021-11-07 16:50:28 +08:00
|
|
|
mavenCentral()
|
2022-10-09 10:51:27 +08:00
|
|
|
google()
|
|
|
|
maven {
|
|
|
|
url = uri("https://jitpack.io")
|
|
|
|
}
|
2021-11-07 16:50:28 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2022-12-09 22:39:24 +08:00
|
|
|
classpath("com.android.tools.build:gradle:7.3.1")
|
2023-04-28 18:21:28 +08:00
|
|
|
|
2022-12-09 22:39:24 +08:00
|
|
|
// 当前 android 项目 kotlin 的版本
|
2023-04-28 18:21:28 +08:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
|
|
|
|
classpath("org.jetbrains.kotlin:kotlin-serialization:1.8.10")
|
|
|
|
|
2022-10-09 10:51:27 +08:00
|
|
|
classpath("dev.rikka.tools.refine:gradle-plugin:3.0.3")
|
2021-11-07 16:50:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-09 10:51:27 +08:00
|
|
|
|
|
|
|
|
2021-11-19 14:08:52 +08:00
|
|
|
tasks.register<Delete>("clean").configure {
|
|
|
|
delete(rootProject.buildDir)
|
2022-10-09 10:51:27 +08:00
|
|
|
}
|