Skip to content

Commit 8b6afc3

Browse files
changed the maven url in build.gradle (#1938)
* changed the maven url in build.gradle Signed-off-by: Riya Saxena <[email protected]> * url changed Signed-off-by: Riya Saxena <[email protected]> --------- Signed-off-by: Riya Saxena <[email protected]>
1 parent 4bc55c9 commit 8b6afc3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ buildscript {
2828

2929
repositories {
3030
mavenLocal()
31-
maven { url "https://central.sonatype.com/repository/maven-snapshots/" }
32-
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
31+
maven {
32+
url "https://central.sonatype.com/repository/maven-snapshots/"
33+
mavenContent {
34+
snapshotsOnly()
35+
}
36+
}
3337
mavenCentral()
3438
maven { url "https://plugins.gradle.org/m2/" }
3539
}
40+
3641
dependencies {
3742
classpath "org.opensearch.gradle:build-tools:${opensearch_version}"
3843
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"

0 commit comments

Comments
 (0)