Allow milestone dependencies for compatibility testing of a release
This commit is contained in:
@@ -9,8 +9,13 @@ allprojects {
|
|||||||
group = "org.springframework.restdocs"
|
group = "org.springframework.restdocs"
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
if (version.contains('-')) {
|
maven {
|
||||||
maven { url "https://repo.spring.io/milestone" }
|
url "https://repo.spring.io/milestone"
|
||||||
|
content {
|
||||||
|
includeGroup "io.micrometer"
|
||||||
|
includeGroup "io.projectreactor"
|
||||||
|
includeGroup "org.springframework"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (version.endsWith('-SNAPSHOT')) {
|
if (version.endsWith('-SNAPSHOT')) {
|
||||||
maven { url "https://repo.spring.io/snapshot" }
|
maven { url "https://repo.spring.io/snapshot" }
|
||||||
|
|||||||
Reference in New Issue
Block a user