From 0f3c187ccf59f12f25a87b259a7160bf6f5ed7a7 Mon Sep 17 00:00:00 2001 From: xucz Date: Wed, 26 Jul 2023 18:44:41 +0800 Subject: [PATCH] [Android]update repositories config. --- Android/APIExample/settings.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Android/APIExample/settings.gradle b/Android/APIExample/settings.gradle index 52390cdce..de541fdd5 100644 --- a/Android/APIExample/settings.gradle +++ b/Android/APIExample/settings.gradle @@ -1,25 +1,23 @@ pluginManagement { repositories { - mavenCentral() - maven { url "https://maven.aliyun.com/repository/jcenter" } maven { url "https://maven.aliyun.com/repository/public" } google() + mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { + maven { url "https://maven.aliyun.com/repository/public" } + 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/jcenter" } maven { url "https://jitpack.io" } maven { url 'http://maven.faceunity.com/repository/maven-public/' allowInsecureProtocol = true } - google() } } rootProject.name='APIExample'