diff --git a/build.gradle b/build.gradle index 7d225285d2a..d22364aaf96 100644 --- a/build.gradle +++ b/build.gradle @@ -90,8 +90,10 @@ apply plugin: 'opensearch.java' repositories { mavenLocal() mavenCentral() // For Elastic Libs that you can use to get started coding until open OpenSearch libs are available - maven { url "https://central.sonatype.com/repository/maven-snapshots/" } - maven { url 'https://jitpack.io' } + maven { + url 'https://jitpack.io' + content { includeGroup "com.github.babbel" } + } maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" } } @@ -159,10 +161,12 @@ subprojects { repositories { mavenLocal() mavenCentral() - maven { url "https://central.sonatype.com/repository/maven-snapshots/" } - maven { url "https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/" } - maven { url 'https://jitpack.io' } + maven { + url 'https://jitpack.io' + content { includeGroup "com.github.babbel" } + } maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" } + maven { url "https://ci.opensearch.org/ci/dbc/snapshots/lucene/" } } } diff --git a/gradle.properties b/gradle.properties index cca553e80bf..d95eee2f1a1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,3 +5,4 @@ version=1.13.0 org.gradle.jvmargs=-Duser.language=en -Duser.country=US org.gradle.parallel=true +org.gradle.caching=true diff --git a/integ-test/build.gradle b/integ-test/build.gradle index 197eddf7495..83fff693eb8 100644 --- a/integ-test/build.gradle +++ b/integ-test/build.gradle @@ -52,9 +52,13 @@ String ignorePrometheusProp = System.getProperty("ignorePrometheus") boolean ignorePrometheus = ignorePrometheusProp != null && !ignorePrometheusProp.equalsIgnoreCase("false") repositories { + mavenLocal() mavenCentral() maven { url "https://ci.opensearch.org/ci/dbc/snapshots/maven/" } - maven { url 'https://jitpack.io' } + maven { + url 'https://jitpack.io' + content { includeGroup "com.github.babbel" } + } // Add extra repository for the JDBC driver if given by user if (System.getProperty("jdbcRepo") != null && new File(System.getProperty("jdbcRepo")).isDirectory()) { diff --git a/plugin/build.gradle b/plugin/build.gradle index 56e8f57a510..f1b62ceb903 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -44,8 +44,12 @@ ext { } repositories { + mavenLocal() mavenCentral() - maven { url 'https://jitpack.io' } + maven { + url 'https://jitpack.io' + content { includeGroup "com.github.babbel" } + } } opensearchplugin {