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')) {