File tree 3 files changed +26
-1
lines changed
3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ plugins {
17
17
}
18
18
19
19
repositories {
20
+ if (System . getenv(). containsKey(" FIREBASE_CI" )) {
21
+ maven {
22
+ url " http://maven-proxy/"
23
+ }
24
+ }
20
25
maven {
21
26
url ' https://maven.google.com/'
22
27
}
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ import groovy.io.FileType
18
18
buildscript {
19
19
20
20
repositories {
21
+ if (System . getenv(). containsKey(" FIREBASE_CI" )) {
22
+ maven {
23
+ url " http://maven-proxy/"
24
+ }
25
+ }
21
26
google()
22
27
jcenter()
23
28
mavenCentral()
@@ -47,6 +52,11 @@ apply plugin: com.google.firebase.gradle.plugins.publish.PublishingPlugin
47
52
48
53
configure(subprojects) {
49
54
repositories {
55
+ if (System . getenv(). containsKey(" FIREBASE_CI" )) {
56
+ maven {
57
+ url " http://maven-proxy/"
58
+ }
59
+ }
50
60
google()
51
61
jcenter()
52
62
mavenLocal()
Original file line number Diff line number Diff line change 16
16
17
17
buildscript {
18
18
repositories {
19
+ if (System . getenv(). containsKey(" FIREBASE_CI" )) {
20
+ maven {
21
+ url " http://maven-proxy/"
22
+ }
23
+ }
19
24
jcenter()
20
25
mavenLocal()
21
26
google()
@@ -43,6 +48,11 @@ allprojects {
43
48
}
44
49
45
50
repositories {
51
+ if (System . getenv(). containsKey(" FIREBASE_CI" )) {
52
+ maven {
53
+ url " http://maven-proxy/"
54
+ }
55
+ }
46
56
// mavenLocal() can be overridden via GRADLE_OPTS="-Dmaven.repo.local=<path>"
47
57
mavenLocal()
48
58
jcenter()
@@ -118,4 +128,4 @@ allprojects {
118
128
119
129
task clean (type : Delete ) {
120
130
delete rootProject. buildDir
121
- }
131
+ }
You can’t perform that action at this time.
0 commit comments