Skip to content

Commit

Permalink
优化:GitHub Actions 拉取依赖失败
Browse files Browse the repository at this point in the history
  • Loading branch information
pppscn committed Sep 3, 2022
1 parent 851e514 commit e3af5fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ 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' }
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://oss.sonatype.org/content/repositories/public' }
maven { url "https://jitpack.io" }
}
}

Expand Down
2 changes: 1 addition & 1 deletion versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,12 @@ static def addRepos(RepositoryHandler handler) {
//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' }
handler.maven { url "https://jitpack.io" }
//Add the Local repository
handler.maven { url 'LocalRepository' }
}
Expand Down

0 comments on commit e3af5fc

Please sign in to comment.