Merge pull request #22506 from royclarkson

* gh-22506:
  Update conditional inclusion of milestone repository

Closes gh-22506
pull/22258/head
Andy Wilkinson 4 years ago
commit 3aed03b9f9

@ -17,7 +17,7 @@ allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
if (!version.endsWith('RELEASE')) { if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" } maven { url "https://repo.spring.io/milestone" }
} }
if (version.endsWith('-SNAPSHOT')) { if (version.endsWith('-SNAPSHOT')) {

Loading…
Cancel
Save