Skip to content

Commit

Permalink
Allow milestone dependencies for compatibility testing of a release
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Oct 21, 2024
1 parent 92e027b commit 156cf11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 156cf11

Please sign in to comment.