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 Samples demonstrating the use of Spring Boot Auto-configuration for Apache Geode." dependencies { compile project(":spring-geode-starter") compile "org.springframework.data:spring-data-geode-test" compile "org.assertj:assertj-core" compile "org.projectlombok:lombok" } 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' ] } } }