Skip to content

Commit 5d0571e

Browse files
committed
Add maven proxy repo to test-apps.
1 parent c0ef977 commit 5d0571e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test-apps/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717
buildscript {
1818
repositories {
19+
if (System.getenv().containsKey("FIREBASE_CI")) {
20+
maven {
21+
url "http://maven-proxy/"
22+
}
23+
}
1924
jcenter()
2025
mavenLocal()
2126
google()
@@ -43,6 +48,11 @@ allprojects {
4348
}
4449

4550
repositories {
51+
if (System.getenv().containsKey("FIREBASE_CI")) {
52+
maven {
53+
url "http://maven-proxy/"
54+
}
55+
}
4656
//mavenLocal() can be overridden via GRADLE_OPTS="-Dmaven.repo.local=<path>"
4757
mavenLocal()
4858
jcenter()
@@ -118,4 +128,4 @@ allprojects {
118128

119129
task clean(type: Delete) {
120130
delete rootProject.buildDir
121-
}
131+
}

0 commit comments

Comments
 (0)