Files
spring-boot-data-geode/spring-geode-samples/caching/http-session/spring-geode-samples-caching-httpsession.gradle
John Blum 5c5032e4a2 Exclude the 'javax.servlet:javax.servlet-api' transitive dependency from 'geode-core'.
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.
2019-08-22 22:46:26 -07:00

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'
}