Files
spring-boot-data-geode/spring-geode-samples/intro/getting-started/spring-geode-samples-getting-started.gradle
2020-06-10 23:48:29 -07:00

39 lines
1.0 KiB
Groovy

import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "io.freefair.lombok" version "5.1.0"
}
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample for Getting Started with Spring Boot for Apache Geode quickly, easily and reliably."
dependencies {
compile project(":spring-geode-starter")
// TODO Remove when https://github.com/cloudfoundry/java-buildpack-metric-writer/issues/6 is resolved!
// compile project(":spring-geode-starter-actuator")
compile "org.assertj:assertj-core"
compile "org.projectlombok:lombok"
compile "org.springframework.boot:spring-boot-starter-web"
testCompile project(":spring-geode-starter-test")
testCompile "org.springframework.boot:spring-boot-starter-test"
}
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'
]
}
}
}