Skip to content

Commit 30426d2

Browse files
committed
Add Spring libs-snapshot Repository declaration to Gradle dependency management in order to resolve the 'provided' Spring Boot dependency.
This will enable Spring Boot build snapshots and milestone artifacts (e.g. M1, RC1, etc) to be resolved from the Spring repos for STDG GA releases. While this is generally unacceptable per release policy, since only GA artifacts should ship with GA artifacts, the Spring Boot dependency in STDG is declared 'provided' and therefore is not materialized in the final STDG Maven POM published to Maven Central.
1 parent f7138a4 commit 30426d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gradle/dependency-management.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
repositories {
2+
maven {
3+
url "https://repo.spring.io/libs-snapshot"
4+
}
5+
}
6+
17
dependencyManagement {
28
imports {
39
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"

0 commit comments

Comments
 (0)