mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
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
This commit is contained in:
parent
88e2810801
commit
374338e32c
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user