改成国内镜像
Some checks failed
Eta Build / 构建 Debug APK (push) Has been cancelled

This commit is contained in:
DelLevin-Home
2026-08-18 21:50:33 +08:00
parent 5d41b7e922
commit 83aa139ea7
3 changed files with 9 additions and 8 deletions

View File

@@ -1,14 +1,14 @@
pluginManagement {
repositories {
google {
maven(url = "https://maven.aliyun.com/repository/google") {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
maven(url = "https://maven.aliyun.com/repository/public")
maven(url = "https://maven.aliyun.com/repository/gradle-plugin")
}
}
plugins {
@@ -17,8 +17,9 @@ plugins {
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven(url = "https://maven.aliyun.com/repository/google")
maven(url = "https://maven.aliyun.com/repository/public")
maven(url = "https://maven.aliyun.com/repository/gradle-plugin")
}
}