File tree Expand file tree Collapse file tree 15 files changed +67
-23
lines changed
Expand file tree Collapse file tree 15 files changed +67
-23
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ description = "gRPC: All"
44
55buildscript {
66 repositories {
7- mavenCentral()
7+ maven {
8+ // The google mirror is less flaky than mavenCentral()
9+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
10+ }
811 }
912 dependencies {
1013 classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ targetCompatibility = 1.7
55
66buildscript {
77 repositories {
8- mavenCentral()
8+ maven {
9+ // The google mirror is less flaky than mavenCentral()
10+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
11+ }
912 }
1013 dependencies {
1114 classpath libraries. protobuf_plugin
Original file line number Diff line number Diff line change 11buildscript {
22 repositories {
3- mavenCentral()
3+ maven {
4+ // The google mirror is less flaky than mavenCentral()
5+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
6+ }
47 }
58 dependencies {
69 classpath libraries. protobuf_plugin
Original file line number Diff line number Diff line change 11buildscript {
22 repositories {
3- mavenCentral()
43 mavenLocal()
54 maven {
65 url " https://plugins.gradle.org/m2/"
@@ -59,11 +58,11 @@ subprojects {
5958 targetCompatibility = 1.6
6059
6160 repositories {
62- mavenCentral()
63- mavenLocal()
6461 maven {
65- url " https://oss.sonatype.org/content/repositories/snapshots/"
62+ // The google mirror is less flaky than mavenCentral()
63+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
6664 }
65+ mavenLocal()
6766 }
6867
6968 [compileJava, compileTestJava, compileJmhJava]. each() {
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ description = 'The protoc plugin for gRPC Java'
55
66buildscript {
77 repositories {
8- mavenCentral()
8+ maven {
9+ // The google mirror is less flaky than mavenCentral()
10+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
11+ }
912 mavenLocal()
1013 }
1114 dependencies {
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ apply plugin: 'com.google.protobuf'
33
44buildscript {
55 repositories {
6- mavenCentral()
6+ maven {
7+ // The google mirror is less flaky than mavenCentral()
8+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
9+ }
710 }
811 dependencies {
912 // ASSUMES GRADLE 2.12 OR HIGHER. Use plugin version 0.7.5 with earlier
@@ -13,7 +16,10 @@ buildscript {
1316}
1417
1518repositories {
16- mavenCentral()
19+ maven {
20+ // The google mirror is less flaky than mavenCentral()
21+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
22+ }
1723 mavenLocal()
1824}
1925
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ description = 'gRPC: gae interop testing (jdk7)'
1616buildscript { // Configuration for building
1717 repositories {
1818 jcenter() // Bintray's repository - a fast Maven Central mirror & more
19- mavenCentral()
19+ maven {
20+ // The google mirror is less flaky than mavenCentral()
21+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
22+ }
2023 }
2124 dependencies {
2225 classpath ' com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
@@ -27,10 +30,10 @@ buildscript { // Configuration for building
2730repositories { // repositories for Jar's you access in your code
2831 mavenLocal()
2932 maven {
30- url ' https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
33+ // The google mirror is less flaky than mavenCentral()
34+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
3135 }
3236 jcenter()
33- mavenCentral()
3437}
3538
3639apply plugin : ' java' // standard Java tasks
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ description = 'gRPC: gae interop testing (jdk8)'
1616buildscript { // Configuration for building
1717 repositories {
1818 jcenter() // Bintray's repository - a fast Maven Central mirror & more
19- mavenCentral()
19+ maven {
20+ // The google mirror is less flaky than mavenCentral()
21+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
22+ }
2023 }
2124 dependencies {
2225 classpath ' com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
@@ -27,10 +30,10 @@ buildscript { // Configuration for building
2730repositories { // repositories for Jar's you access in your code
2831 mavenLocal()
2932 maven {
30- url ' https://maven-central.storage.googleapis.com' // Google's mirror of Maven Central
33+ // The google mirror is less flaky than mavenCentral()
34+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
3135 }
3236 jcenter()
33- mavenCentral()
3437}
3538
3639apply plugin : ' java' // standard Java tasks
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ description = "gRPC: GRPCLB LoadBalancer plugin"
22
33buildscript {
44 repositories {
5- mavenCentral()
5+ maven {
6+ // The google mirror is less flaky than mavenCentral()
7+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
8+ }
69 }
710 dependencies {
811 classpath libraries. protobuf_plugin
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ startScripts.enabled = false
66// Add dependency on the protobuf plugin
77buildscript {
88 repositories {
9- mavenCentral()
9+ maven {
10+ // The google mirror is less flaky than mavenCentral()
11+ url " https://maven-central.storage-download.googleapis.com/repos/central/data/"
12+ }
1013 }
1114 dependencies {
1215 classpath libraries. protobuf_plugin
You can’t perform that action at this time.
0 commit comments