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:
@@ -5,7 +5,7 @@ buildscript {
|
||||
}
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url 'https://repo.spring.io/plugins-release' }
|
||||
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
repositories {
|
||||
maven {
|
||||
url "https://repo.spring.io/libs-snapshot"
|
||||
}
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
|
||||
|
||||
Reference in New Issue
Block a user