Skip to content

Commit 474e078

Browse files
committed
Define repositories in dependencyResolutionManagement
1 parent babe974 commit 474e078

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ plugins {
1111
allprojects {
1212
group = "com.bakdata.kafka"
1313

14-
repositories {
15-
mavenCentral()
16-
maven(url = "https://packages.confluent.io/maven/")
17-
maven(url = "https://central.sonatype.com/repository/maven-snapshots")
18-
}
19-
2014
dependencies {
2115
subprojects {
2216
plugins.withId("java") {

settings.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ pluginManagement {
44
}
55
}
66

7+
dependencyResolutionManagement {
8+
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
9+
repositories {
10+
mavenCentral()
11+
maven(url = "https://packages.confluent.io/maven/")
12+
maven(url = "https://central.sonatype.com/repository/maven-snapshots")
13+
}
14+
}
15+
716
rootProject.name = "streams-bootstrap"
817

918
include(

0 commit comments

Comments
 (0)