Skip to content

Commit 7b4ebcf

Browse files
Add ci.opensearch.org maven2 mirror to avoid throttling (sql) (#5478)
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent bcbbc59 commit 7b4ebcf

14 files changed

Lines changed: 22 additions & 0 deletions

File tree

async-query-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ plugins {
1313
}
1414

1515
repositories {
16+
maven { url "https://ci.opensearch.org/maven2/" }
1617
mavenCentral()
1718
}
1819

async-query/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins {
1111
}
1212

1313
repositories {
14+
maven { url "https://ci.opensearch.org/maven2/" }
1415
mavenCentral()
1516
}
1617

benchmarks/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ plugins {
1010
}
1111

1212
repositories {
13+
maven { url "https://ci.opensearch.org/maven2/" }
1314
mavenCentral()
1415
}
1516

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ buildscript {
6666

6767
repositories {
6868
mavenLocal()
69+
maven { url "https://ci.opensearch.org/maven2/" }
6970
mavenCentral()
7071
maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" }
7172
}
@@ -91,6 +92,7 @@ apply plugin: 'opensearch.java-agent'
9192
// Repository on root level is for dependencies that project code depends on. And this block must be placed after plugins{}
9293
repositories {
9394
mavenLocal()
95+
maven { url "https://ci.opensearch.org/maven2/" }
9496
mavenCentral() // For Elastic Libs that you can use to get started coding until open OpenSearch libs are available
9597
maven {
9698
url 'https://jitpack.io'
@@ -169,6 +171,7 @@ allprojects {
169171
subprojects {
170172
repositories {
171173
mavenLocal()
174+
maven { url "https://ci.opensearch.org/maven2/" }
172175
mavenCentral()
173176
maven {
174177
url 'https://jitpack.io'

buildSrc/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply plugin: 'java'
33

44

55
repositories {
6+
maven { url "https://ci.opensearch.org/maven2/" }
67
mavenCentral()
78
}
89

common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ plugins {
2929
}
3030

3131
repositories {
32+
maven { url "https://ci.opensearch.org/maven2/" }
3233
mavenCentral()
3334
}
3435

core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ plugins {
3434

3535
repositories {
3636
mavenLocal()
37+
maven { url "https://ci.opensearch.org/maven2/" }
3738
mavenCentral()
3839
}
3940

datasources/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ plugins {
1212
}
1313

1414
repositories {
15+
maven { url "https://ci.opensearch.org/maven2/" }
1516
mavenCentral()
1617
}
1718

direct-query-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins {
1111
}
1212

1313
repositories {
14+
maven { url "https://ci.opensearch.org/maven2/" }
1415
mavenCentral()
1516
}
1617

direct-query/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ plugins {
1010
}
1111

1212
repositories {
13+
maven { url "https://ci.opensearch.org/maven2/" }
1314
mavenCentral()
1415
}
1516

0 commit comments

Comments
 (0)