Remove unnecessary 'javax.servlet:javax.servlet-api' provided dependency in 'spring-geode-autoconfigure'. Remove unnecessary 'org.springframework.boot:spring-boot-starter-tomcat' runtime dependency from 'spring-geode-samples-caching-httpsession'. Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-inline'. Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-lookaside'. Remove unnecessary 'javax.cache:cache-api' runtime dependency from 'spring-geode-samples-caching-near'.
31 lines
911 B
Groovy
31 lines
911 B
Groovy
apply plugin: 'io.spring.convention.spring-sample-boot'
|
|
|
|
description = "Spring Geode Sample demonstrating Spring Session with Apache Geode for HTTP Session Caching."
|
|
|
|
dependencies {
|
|
|
|
compile project(":spring-geode-starter")
|
|
|
|
compile ("org.springframework.boot:spring-boot-starter-web") {
|
|
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
|
}
|
|
|
|
// runtime project(":spring-geode-starter-session")
|
|
|
|
runtime("org.springframework.boot:spring-boot-starter-thymeleaf") {
|
|
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
|
}
|
|
|
|
testCompile project(":spring-geode-starter-session")
|
|
testCompile project(":spring-geode-starter-test")
|
|
|
|
testCompile("org.springframework.boot:spring-boot-starter-test") {
|
|
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
|
}
|
|
|
|
}
|
|
|
|
bootJar {
|
|
mainClassName = 'example.app.caching.lookaside.BootGeodeHttpSessionCachingApplication'
|
|
}
|