Exclude the 'javax.servlet:javax.servlet-api' transitive dependency except from in the 'spring-geode-starter-session' and 'spring-gemfire-starter-session' modules. 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'. Resolves gh-47.
29 lines
829 B
Groovy
29 lines
829 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"
|
|
|
|
// runtime project(":spring-geode-starter-session")
|
|
|
|
runtime "org.springframework.boot:spring-boot-starter-thymeleaf"
|
|
|
|
testCompile project(":spring-geode-starter-session")
|
|
|
|
testCompile "org.springframework.boot:spring-boot-starter-test"
|
|
|
|
testCompile("org.springframework.data:spring-data-geode-test") {
|
|
exclude group: "javax.servlet", module: "javax.servlet-api"
|
|
exclude group: "org.apache.logging.log4j", module: "log4j-core"
|
|
}
|
|
|
|
}
|
|
|
|
bootJar {
|
|
mainClassName = 'example.app.caching.lookaside.BootGeodeHttpSessionCachingApplication'
|
|
}
|