Skip to content

Commit e3af5fc

Browse files
committed
优化:GitHub Actions 拉取依赖失败
1 parent 851e514 commit e3af5fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ allprojects {
2929
repositories {
3030
google()
3131
mavenCentral()
32-
maven { url "https://jitpack.io" }
33-
maven { url 'https://repo1.maven.org/maven2/' }
34-
maven { url 'https://oss.sonatype.org/content/repositories/public' }
3532
maven { url 'https://maven.aliyun.com/repository/google' }
3633
maven { url 'https://maven.aliyun.com/repository/central' }
3734
maven { url 'https://maven.aliyun.com/repository/public' }
35+
maven { url 'https://repo1.maven.org/maven2/' }
36+
maven { url 'https://oss.sonatype.org/content/repositories/public' }
37+
maven { url "https://jitpack.io" }
3838
}
3939
}
4040

versions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ static def addRepos(RepositoryHandler handler) {
194194
//handler.mavenCentral { url 'https://maven.aliyun.com/repository/central' }
195195
handler.google()
196196
handler.mavenCentral()
197-
handler.maven { url "https://jitpack.io" }
198197
handler.maven { url 'https://maven.aliyun.com/repository/google' }
199198
handler.maven { url 'https://maven.aliyun.com/repository/central' }
200199
handler.maven { url 'https://maven.aliyun.com/repository/public' }
201200
handler.maven { url "https://repo1.maven.org/maven2/" }
202201
handler.maven { url 'https://oss.sonatype.org/content/repositories/public' }
202+
handler.maven { url "https://jitpack.io" }
203203
//Add the Local repository
204204
handler.maven { url 'LocalRepository' }
205205
}

0 commit comments

Comments
 (0)