改成国内镜像
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,7 +1,7 @@
buildscript {
repositories {
google()
mavenCentral()
maven(url = "https://maven.aliyun.com/repository/google")
maven(url = "https://maven.aliyun.com/repository/public")
}
dependencies {
// AGP 9 内置 KGP 2.2.10,但 miuix 0.9.3 与 Compose Multiplatform 1.11.1 需要 Kotlin 2.4.0

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
distributionUrl=https\://mirrors.aliyun.com/gradle/gradle-9.6.1-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500

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")
}
}