Files
spring-boot-data-geode/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle
2020-12-09 12:56:04 -08:00

36 lines
884 B
Groovy

import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "io.freefair.lombok" version "5.3.0"
}
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"
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
}
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'
]
}
}
}