aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorzpencer <spencerfang@google.com>2018-03-01 19:11:24 -0800
committerGitHub <noreply@github.com>2018-03-01 19:11:24 -0800
commit066ad3ceac43907ea419d5f7c05d53ff2a11f08c (patch)
tree3e05aeddf5eab11743a6fde73ce4a4cde0f1dba4 /build.gradle
parentc07ad68cbd4fd836900c166693cdaa2c7613edc0 (diff)
downloadgrpc-grpc-java-066ad3ceac43907ea419d5f7c05d53ff2a11f08c.tar.gz
buildscripts,travis: fetch from mvn with retries (#4140)
A band aid for #3284, to make its symptoms less noticeable.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index f2856893e..7e5d0096f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,5 @@
buildscript {
repositories {
- mavenCentral()
mavenLocal()
maven {
url "https://plugins.gradle.org/m2/"
@@ -59,11 +58,11 @@ subprojects {
targetCompatibility = 1.6
repositories {
- mavenCentral()
- mavenLocal()
maven {
- url "https://oss.sonatype.org/content/repositories/snapshots/"
+ // The google mirror is less flaky than mavenCentral()
+ url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
}
+ mavenLocal()
}
[compileJava, compileTestJava, compileJmhJava].each() {