diff --git a/build.gradle b/build.gradle index e8514faead..70ce138b99 100644 --- a/build.gradle +++ b/build.gradle @@ -5,21 +5,6 @@ import com.github.jk1.license.render.TextReportRenderer buildscript { - repositories { - mavenCentral() { - metadataSources { - mavenPom() - ignoreGradleMetadataRedirection() - } - } - maven { - url 'https://plugins.gradle.org/m2/' - metadataSources { - mavenPom() - ignoreGradleMetadataRedirection() - } - } - } dependencies { classpath 'com.github.jk1:gradle-license-report:2.1' } @@ -41,14 +26,6 @@ allprojects { ext { mavenPublicationRootFile = file("${rootProject.buildDir}/m2") } - - repositories { - mavenCentral() - maven { url 'https://jitpack.io' } - maven { - url 'https://packages.confluent.io/maven/' - } - } spotless { format 'markdown', { diff --git a/settings.gradle b/settings.gradle index 8edc547186..d1d77074ee 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,6 +10,19 @@ pluginManagement { } } +dependencyResolutionManagement { + repositories { + mavenCentral() + maven { + url 'https://packages.confluent.io/maven/' + } + maven { + url 'https://jitpack.io' + content { includeGroup 'com.github.fge' } + } + } +} + rootProject.name = 'opensearch-data-prepper' dependencyResolutionManagement {