From 374338e32c8532db39ebfe8ebd40533ef61da21a Mon Sep 17 00:00:00 2001 From: Roy Clarkson Date: Wed, 22 Jul 2020 09:31:37 -0400 Subject: [PATCH] Update conditional inclusion of milestone repository The new Spring version schema does not include a "RELEASE" version. This commit modifies the Gradle conditional to include the milestone repository for all milestone and snapshot versions. See gh-22506 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a3dbed08eb..cbcaca5181 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ allprojects { repositories { mavenCentral() - if (!version.endsWith('RELEASE')) { + if (version.contains('-')) { maven { url "https://repo.spring.io/milestone" } } if (version.endsWith('-SNAPSHOT')) {