Allow milestone dependencies for compatibility testing of a release

This commit is contained in:
Andy Wilkinson
2024-10-21 12:55:54 +01:00
parent 92e027bf26
commit 156cf11e35

View File

@@ -9,8 +9,13 @@ allprojects {
group = "org.springframework.restdocs"
repositories {
mavenCentral()
if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" }
maven {
url "https://repo.spring.io/milestone"
content {
includeGroup "io.micrometer"
includeGroup "io.projectreactor"
includeGroup "org.springframework"
}
}
if (version.endsWith('-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }