diff --git a/settings.gradle b/settings.gradle index eff00c9..2399754 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,9 @@ pluginManagement { repositories { + 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() @@ -8,6 +12,10 @@ pluginManagement { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { + 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() }