Skip to content

Commit

Permalink
Move repos declaration before BOMs
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Feb 9, 2024
1 parent 4bfe958 commit b31f2a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
id 'idea'
id 'org.ajoberstar.grgit' version '4.1.1'
id 'io.spring.nohttp' version '0.0.11'
id 'io.spring.dependency-management' version '1.1.4'
id 'io.spring.dependency-management' version '1.1.4' apply false
id 'org.asciidoctor.jvm.pdf' version '3.3.2'
id 'org.asciidoctor.jvm.convert' version '3.3.2'
}
Expand Down Expand Up @@ -91,6 +91,15 @@ allprojects {

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

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
}
// maven { url 'https://repository.apache.org/content/groups/staging/' }
}

dependencyManagement {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
Expand All @@ -111,15 +120,6 @@ allprojects {
}
}

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
}
// maven { url 'https://repository.apache.org/content/groups/staging/' }
}

}

configure(javaProjects) { subproject ->
Expand Down

0 comments on commit b31f2a8

Please sign in to comment.