Remove Spring 'libs-snapshot' Repository declaration from dependency-management.gradle and change the Spring Plugins Repository buildscript repository declaration to 'plugins-snapshot' in build.gradle.

The Spring Boot Gradle Plugin is used to manage transitive dependencies, comes from the Spring 'plugins-snapshot' Repository.

This should enable '*-RELEASE' builds to work correctly even when Spring Boot is in milestone versions (M# and RC#).
This commit is contained in:
John Blum
2020-05-13 17:21:42 -07:00
parent c1682f6cba
commit 2e1153053b
2 changed files with 1 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ buildscript {
}
repositories {
gradlePluginPortal()
maven { url 'https://repo.spring.io/plugins-release' }
maven { url 'https://repo.spring.io/plugins-snapshot' }
}
}

View File

@@ -1,9 +1,3 @@
repositories {
maven {
url "https://repo.spring.io/libs-snapshot"
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"