改成国内镜像
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 { buildscript {
repositories { repositories {
google() maven(url = "https://maven.aliyun.com/repository/google")
mavenCentral() maven(url = "https://maven.aliyun.com/repository/public")
} }
dependencies { dependencies {
// AGP 9 内置 KGP 2.2.10,但 miuix 0.9.3 与 Compose Multiplatform 1.11.1 需要 Kotlin 2.4.0 // 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 distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 networkTimeout=10000
retries=0 retries=0
retryBackOffMs=500 retryBackOffMs=500

View File

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