Skip to content

Commit

Permalink
添加阿里云镜像代理
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan095 committed Nov 13, 2023
1 parent 3b4fe6f commit ef318bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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 {
Expand Down

0 comments on commit ef318bb

Please sign in to comment.