29 lines
972 B
Kotlin
29 lines
972 B
Kotlin
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
// @Hint by SuperMonster003 on Aug 16, 2023.
|
|
// ! Blocks "buildscript" and "plugins" have been moved to "settings.gradle.kts".
|
|
// ! zh-CN: 代码块 "buildscript" 以及 "plugins" 已迁移至 "settings.gradle.kts".
|
|
|
|
extra["configurationName"] = "default"
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
maven("https://jitpack.io")
|
|
maven("https://maven.aliyun.com/repository/central")
|
|
maven("https://maven.aliyun.com/repository/google")
|
|
maven("https://maven.aliyun.com/repository/gradle-plugin")
|
|
maven("https://maven.aliyun.com/repository/jcenter")
|
|
maven("https://maven.aliyun.com/repository/public")
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
register<Delete>("clean").configure {
|
|
// @Legacy delete(rootProject.buildDir)
|
|
delete(rootProject.layout.buildDirectory)
|
|
}
|
|
}
|