Remove Spring Boot (Gradle) Plugin.

Apply the 'io.spring.dependency-management' (Gradle) plugin and import Spring Boot's BOM.
This commit is contained in:
John Blum
2018-05-30 21:46:29 -07:00
parent 1d479adf47
commit bd01ef5be0
2 changed files with 16 additions and 2 deletions

View File

@@ -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")

View File

@@ -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"