-
Notifications
You must be signed in to change notification settings - Fork 767
/
build.gradle.kts
28 lines (24 loc) · 971 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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()
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")
gradlePluginPortal()
}
}
tasks {
register<Delete>("clean").configure {
// @Legacy delete(rootProject.buildDir)
delete(rootProject.layout.buildDirectory)
}
}