pluginManagement {
repositories {
maven { setUrl("https://maven.aliyun.com/repository/public/") }
maven { setUrl("https://maven.aliyun.com/repository/spring/")}
maven { setUrl("https://maven.aliyun.com/repository/google/")}
maven { setUrl("https://maven.aliyun.com/repository/spring-plugin/")}
maven { setUrl("https://maven.aliyun.com/repository/grails-core/")}
maven { setUrl("https://maven.aliyun.com/repository/apache-snapshots/")}
maven { setUrl("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
maven { setUrl("https://maven.aliyun.com/repository/central") }
maven { setUrl("https://maven.aliyun.com/repository/jcenter") }
maven { setUrl("https://maven.aliyun.com/repository/gradle-plugin") }
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "HappyBirthday"
include(":app")
网友评论