Files
spring-boot-data-geode/spring-geode-samples/caching/inline/spring-geode-samples-caching-inline.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

32 lines
924 B
Groovy

plugins {
id "io.freefair.lombok" version "3.2.1"
}
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating Spring's Cache Abstraction using Apache Geode as the caching provider for Inline Caching."
dependencies {
compile project(":spring-geode-starter")
compile "org.projectlombok:lombok"
compile "org.springframework.boot:spring-boot-starter-data-jpa"
compile "org.springframework.boot:spring-boot-starter-web"
runtime "org.hsqldb:hsqldb"
runtime "org.springframework.boot:spring-boot-starter-jetty"
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.inline.BootGeodeInlineCachingApplication'
}