36 lines
932 B
Groovy
36 lines
932 B
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
plugins {
|
|
id "io.freefair.lombok" version "6.3.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 {
|
|
|
|
implementation project(":spring-geode-starter")
|
|
|
|
implementation "org.assertj:assertj-core"
|
|
implementation "org.projectlombok:lombok"
|
|
implementation "org.springframework.boot:spring-boot-starter-web"
|
|
|
|
testImplementation project(":spring-geode-starter-test")
|
|
|
|
testImplementation "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'
|
|
]
|
|
}
|
|
}
|
|
}
|