Skip to content

Commit b31f2a8

Browse files
committed
Move repos declaration before BOMs
1 parent 4bfe958 commit b31f2a8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
id 'idea'
2121
id 'org.ajoberstar.grgit' version '4.1.1'
2222
id 'io.spring.nohttp' version '0.0.11'
23-
id 'io.spring.dependency-management' version '1.1.4'
23+
id 'io.spring.dependency-management' version '1.1.4' apply false
2424
id 'org.asciidoctor.jvm.pdf' version '3.3.2'
2525
id 'org.asciidoctor.jvm.convert' version '3.3.2'
2626
}
@@ -91,6 +91,15 @@ allprojects {
9191

9292
apply plugin: 'io.spring.dependency-management'
9393

94+
repositories {
95+
mavenCentral()
96+
maven { url 'https://repo.spring.io/milestone' }
97+
if (version.endsWith('SNAPSHOT')) {
98+
maven { url 'https://repo.spring.io/snapshot' }
99+
}
100+
// maven { url 'https://repository.apache.org/content/groups/staging/' }
101+
}
102+
94103
dependencyManagement {
95104
resolutionStrategy {
96105
cacheChangingModulesFor 0, 'seconds'
@@ -111,15 +120,6 @@ allprojects {
111120
}
112121
}
113122

114-
repositories {
115-
mavenCentral()
116-
maven { url 'https://repo.spring.io/milestone' }
117-
if (version.endsWith('SNAPSHOT')) {
118-
maven { url 'https://repo.spring.io/snapshot' }
119-
}
120-
// maven { url 'https://repository.apache.org/content/groups/staging/' }
121-
}
122-
123123
}
124124

125125
configure(javaProjects) { subproject ->

0 commit comments

Comments
 (0)