mirror of https://github.com/grpc/grpc-java.git
buildscripts,travis: fetch from mvn with retries (#4140)
A band aid for #3284, to make its symptoms less noticeable.
This commit is contained in:
parent
c07ad68cbd
commit
066ad3ceac
|
|
@ -4,7 +4,10 @@ description = "gRPC: All"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
|
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,10 @@ targetCompatibility = 1.7
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
url "https://plugins.gradle.org/m2/"
|
url "https://plugins.gradle.org/m2/"
|
||||||
|
|
@ -59,11 +58,11 @@ subprojects {
|
||||||
targetCompatibility = 1.6
|
targetCompatibility = 1.6
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
|
||||||
mavenLocal()
|
|
||||||
maven {
|
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() {
|
[compileJava, compileTestJava, compileJmhJava].each() {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,10 @@ description = 'The protoc plugin for gRPC Java'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,10 @@ apply plugin: 'com.google.protobuf'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
// ASSUMES GRADLE 2.12 OR HIGHER. Use plugin version 0.7.5 with earlier
|
// ASSUMES GRADLE 2.12 OR HIGHER. Use plugin version 0.7.5 with earlier
|
||||||
|
|
@ -13,7 +16,10 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,10 @@ description = 'gRPC: gae interop testing (jdk7)'
|
||||||
buildscript { // Configuration for building
|
buildscript { // Configuration for building
|
||||||
repositories {
|
repositories {
|
||||||
jcenter() // Bintray's repository - a fast Maven Central mirror & more
|
jcenter() // Bintray's repository - a fast Maven Central mirror & more
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
|
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
|
||||||
|
|
@ -27,10 +30,10 @@ buildscript { // Configuration for building
|
||||||
repositories { // repositories for Jar's you access in your code
|
repositories { // repositories for Jar's you access in your code
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
url 'https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
}
|
}
|
||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'java' // standard Java tasks
|
apply plugin: 'java' // standard Java tasks
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,10 @@ description = 'gRPC: gae interop testing (jdk8)'
|
||||||
buildscript { // Configuration for building
|
buildscript { // Configuration for building
|
||||||
repositories {
|
repositories {
|
||||||
jcenter() // Bintray's repository - a fast Maven Central mirror & more
|
jcenter() // Bintray's repository - a fast Maven Central mirror & more
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
|
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
|
||||||
|
|
@ -27,10 +30,10 @@ buildscript { // Configuration for building
|
||||||
repositories { // repositories for Jar's you access in your code
|
repositories { // repositories for Jar's you access in your code
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
maven {
|
||||||
url 'https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
}
|
}
|
||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'java' // standard Java tasks
|
apply plugin: 'java' // standard Java tasks
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,10 @@ description = "gRPC: GRPCLB LoadBalancer plugin"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,10 @@ startScripts.enabled = false
|
||||||
// Add dependency on the protobuf plugin
|
// Add dependency on the protobuf plugin
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
// Add dependency on the protobuf plugin
|
// Add dependency on the protobuf plugin
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,10 @@ description = 'gRPC: Protobuf'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
// Add dependency on the protobuf plugin
|
// Add dependency on the protobuf plugin
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,10 @@ description = "gRPC: Testing Protos"
|
||||||
// Add dependency on the protobuf plugin
|
// Add dependency on the protobuf plugin
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
|
// The google mirror is less flaky than mavenCentral()
|
||||||
|
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath libraries.protobuf_plugin
|
classpath libraries.protobuf_plugin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue