plugins { id('groovy-gradle-plugin') } repositories { // 阿里云镜像 maven { url = uri("https://maven.aliyun.com/repository/public") } maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") } maven { url = uri("https://maven.aliyun.com/repository/spring") } maven { url = uri("https://maven.aliyun.com/repository/spring-plugin") } }