优化:GitHub Actions 拉取依赖失败

This commit is contained in:
pppscn 2022-09-03 09:27:33 +08:00
parent 851e514056
commit e3af5fcd6e
2 changed files with 4 additions and 4 deletions

View File

@ -29,12 +29,12 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() 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/google' }
maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://oss.sonatype.org/content/repositories/public' }
maven { url "https://jitpack.io" }
} }
} }

View File

@ -194,12 +194,12 @@ static def addRepos(RepositoryHandler handler) {
//handler.mavenCentral { url 'https://maven.aliyun.com/repository/central' } //handler.mavenCentral { url 'https://maven.aliyun.com/repository/central' }
handler.google() handler.google()
handler.mavenCentral() 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/google' }
handler.maven { url 'https://maven.aliyun.com/repository/central' } handler.maven { url 'https://maven.aliyun.com/repository/central' }
handler.maven { url 'https://maven.aliyun.com/repository/public' } handler.maven { url 'https://maven.aliyun.com/repository/public' }
handler.maven { url "https://repo1.maven.org/maven2/" } handler.maven { url "https://repo1.maven.org/maven2/" }
handler.maven { url 'https://oss.sonatype.org/content/repositories/public' } handler.maven { url 'https://oss.sonatype.org/content/repositories/public' }
handler.maven { url "https://jitpack.io" }
//Add the Local repository //Add the Local repository
handler.maven { url 'LocalRepository' } handler.maven { url 'LocalRepository' }
} }