// 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". 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("clean").configure { // @Legacy delete(rootProject.buildDir) delete(rootProject.layout.buildDirectory) } }