mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
优化:GitHub Actions 拉取依赖失败
This commit is contained in:
parent
5f4d5f6cc8
commit
851e514056
@ -27,13 +27,14 @@ buildscript {
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url "https://jitpack.io" }
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/public' }
|
||||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||
mavenCentral()
|
||||
google()
|
||||
maven { url "https://jitpack.io" }
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,9 +190,13 @@ ext.isRelease = this.&isRelease
|
||||
//默认添加代码仓库路径
|
||||
static def addRepos(RepositoryHandler handler) {
|
||||
handler.mavenLocal()
|
||||
handler.google { url 'https://maven.aliyun.com/repository/google' }
|
||||
handler.mavenCentral { url 'https://maven.aliyun.com/repository/central' }
|
||||
//handler.google { url 'https://maven.aliyun.com/repository/google' }
|
||||
//handler.mavenCentral { url 'https://maven.aliyun.com/repository/central' }
|
||||
handler.google()
|
||||
handler.mavenCentral()
|
||||
handler.maven { url "https://jitpack.io" }
|
||||
handler.maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
handler.maven { url 'https://maven.aliyun.com/repository/central' }
|
||||
handler.maven { url 'https://maven.aliyun.com/repository/public' }
|
||||
handler.maven { url "https://repo1.maven.org/maven2/" }
|
||||
handler.maven { url 'https://oss.sonatype.org/content/repositories/public' }
|
||||
|
Loading…
Reference in New Issue
Block a user