Remove Spring Boot (Gradle) Plugin.
Apply the 'io.spring.dependency-management' (Gradle) plugin and import Spring Boot's BOM.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
description = "Spring Boot for Apache Geode Auto-Configuration"
|
||||
@@ -9,6 +10,12 @@ repositories {
|
||||
maven { url "https://repo.spring.io/libs-snapshot" }
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(":geode-spring-boot")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
description = "Spring Boot for Apache Geode"
|
||||
@@ -9,6 +10,12 @@ repositories {
|
||||
maven { url "https://repo.spring.io/libs-snapshot" }
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile "org.springframework:spring-context-support"
|
||||
|
||||
Reference in New Issue
Block a user