From ef318bb8125e5f6cbbc39b22e31c7102d3d05a2c Mon Sep 17 00:00:00 2001 From: MoralNorm <732388462@qq.com> Date: Mon, 13 Nov 2023 15:50:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=98=BF=E9=87=8C=E4=BA=91?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/settings.gradle b/settings.gradle index d097b1eeb9..a875cb7f5f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,10 @@ pluginManagement { repositories { + // 添加阿里云 maven 地址 + maven{ url 'https://maven.aliyun.com/repository/google'} + maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'} + maven{ url 'https://maven.aliyun.com/repository/public'} + maven{ url 'https://maven.aliyun.com/repository/jcenter'} gradlePluginPortal() google() mavenCentral() @@ -10,6 +15,11 @@ pluginManagement { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { + // 添加阿里云 maven 地址 + maven{ url 'https://maven.aliyun.com/repository/google'} + maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'} + maven{ url 'https://maven.aliyun.com/repository/public'} + maven{ url 'https://maven.aliyun.com/repository/jcenter'} google() mavenCentral() maven {