Switch to Spring Boot Dependencies BOM for complete project dependency management.
This commit is contained in:
@@ -11,6 +11,10 @@ buildscript {
|
||||
|
||||
apply plugin: 'io.spring.convention.root'
|
||||
|
||||
//ext['spring.version'] = "$springVersion"
|
||||
//ext['spring-data-releasetrain.version'] = "$springDataReleaseTrainVersion"
|
||||
//ext['spring-session-bom.version'] = "$springSessionVersion"
|
||||
|
||||
group = 'org.springframework.session'
|
||||
description = 'Spring Session for Apache Geode'
|
||||
|
||||
|
||||
@@ -1,16 +1,7 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.docs'
|
||||
apply plugin: 'io.spring.convention.spring-test'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
testCompile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,21 +1,13 @@
|
||||
antlrVersion=2.7.7
|
||||
apacheGeodeVersion=1.2.1
|
||||
apacheTaglibsStandardVersion=1.2.5
|
||||
assertjVersion=3.9.1
|
||||
hamcrestVersion=1.3
|
||||
javaxServletJspJstlApiVersion=1.2.1
|
||||
junitVersion=4.12
|
||||
logbackVersion=1.2.3
|
||||
mockitoVersion=2.19.0
|
||||
multithreadedtcVersion=1.01
|
||||
pivotalGemFireVersion=9.1.1
|
||||
slf4jVersion=1.7.25
|
||||
springVersion=5.0.7.RELEASE
|
||||
springBootVersion=2.0.3.RELEASE
|
||||
springDataGemFireVersion=2.0.8.RELEASE
|
||||
springDataGeodeVersion=2.0.8.RELEASE
|
||||
springDataReleaseTrainVersion=Kay-SR8
|
||||
springSecurityVersion=5.0.6.RELEASE
|
||||
springVersion=5.0.6.RELEASE
|
||||
springBootVersion=2.0.2.RELEASE
|
||||
springDataGemFireVersion=2.0.7.RELEASE
|
||||
springDataGeodeVersion=2.0.7.RELEASE
|
||||
springDataReleaseTrainVersion=Kay-SR7
|
||||
springSessionVersion=2.0.3.RELEASE
|
||||
springSessionBomVersion=Apple-SR3
|
||||
springShellVersion=1.2.0.RELEASE
|
||||
version=2.0.3.BUILD-SNAPSHOT
|
||||
|
||||
@@ -1,26 +1,14 @@
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "org.springframework:spring-framework-bom:$springVersion"
|
||||
mavenBom "org.springframework.data:spring-data-releasetrain:$springDataReleaseTrainVersion"
|
||||
mavenBom "org.springframework.security:spring-security-bom:$springSecurityVersion"
|
||||
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
|
||||
}
|
||||
dependencies {
|
||||
dependency "antlr:antlr:$antlrVersion"
|
||||
dependency "ch.qos.logback:logback-classic:$logbackVersion"
|
||||
dependency "ch.qos.logback:logback-core:$logbackVersion"
|
||||
dependency "edu.umd.cs.mtc:multithreadedtc:$multithreadedtcVersion"
|
||||
dependency "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:$javaxServletJspJstlApiVersion"
|
||||
dependency "junit:junit:$junitVersion"
|
||||
dependency "org.apache.taglibs:taglibs-standard-impl:$apacheTaglibsStandardVersion"
|
||||
dependency "org.apache.taglibs:taglibs-standard-jstlel:$apacheTaglibsStandardVersion"
|
||||
dependency "org.apache.taglibs:taglibs-standard-spec:$apacheTaglibsStandardVersion"
|
||||
dependency "org.assertj:assertj-core:$assertjVersion"
|
||||
dependency "org.hamcrest:hamcrest-core:$hamcrestVersion"
|
||||
dependency "org.hamcrest:hamcrest-library:$hamcrestVersion"
|
||||
dependency "org.mockito:mockito-core:$mockitoVersion"
|
||||
dependency "org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
||||
dependency "org.slf4j:jul-to-slf4j:$slf4jVersion"
|
||||
dependency "org.slf4j:log4j-over-slf4j:$slf4jVersion"
|
||||
dependency "org.springframework.shell:spring-shell:$springShellVersion"
|
||||
dependency 'org.webjars:bootstrap:2.3.2'
|
||||
dependency 'org.webjars:jquery:1.12.4'
|
||||
|
||||
@@ -1,21 +1,11 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: "application"
|
||||
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: "application"
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
@@ -9,12 +6,6 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,17 +1,8 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-war'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: "gemfire-server"
|
||||
apply plugin: "application"
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-war'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,17 +1,8 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-war'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: "gemfire-server"
|
||||
apply plugin: "application"
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-war'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':spring-session-data-geode')
|
||||
|
||||
@@ -1,17 +1,8 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
description = "Spring Session for Pivotal GemFire"
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
compile(project(':spring-session-data-geode')) {
|
||||
|
||||
@@ -1,22 +1,13 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply from: IDE_GRADLE
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
description = "Spring Session for Apache Geode"
|
||||
|
||||
dependencies {
|
||||
|
||||
compile "org.springframework:spring-context-support"
|
||||
compile "org.springframework:spring-jcl"
|
||||
compile "org.springframework.data:spring-data-geode:$springDataGeodeVersion"
|
||||
compile "org.springframework.data:spring-data-geode"
|
||||
compile "org.springframework.session:spring-session-core:$springSessionVersion"
|
||||
|
||||
optional "org.springframework.security:spring-security-core"
|
||||
|
||||
Reference in New Issue
Block a user