Files
spring-boot-data-geode/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle
John Blum 40f5ddff7a Refactor Gradle project dependencies.
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'.
2019-08-23 01:19:16 -07:00

36 lines
891 B
Groovy

import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "io.freefair.lombok" version "3.2.1"
}
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating the use of Spring Boot Auto-Configuration for Apache Geode."
dependencies {
compile project(":spring-geode-starter")
compile project(":spring-geode-starter-test")
compile "org.assertj:assertj-core"
compile "org.projectlombok:lombok"
testCompile("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
}
processResources {
eachFile { file ->
if (!file.name.endsWith(".jks")) {
file.filter ReplaceTokens, tokens: [
'project-dir' : rootProject.projectDir.path,
'project-version' : project.version,
'samples-dir' : rootProject.projectDir.path + '/spring-geode-samples'
]
}
}
}