I have a web application that I am building with Milestone 3, and I have the
following closure:
war {
baseName = webContext
processResources {
inputs.file new File("../gradle.properties")
logger.info "baseUrl: " + baseUrl
filter ReplaceTokens, tokens: [
timestamp: timestamp,
projectVersion: project.version,
baseUrl: baseUrl
]
}
}
When I run the war task (the default for my build), I find that the filtering
never happens, so variables like @baseUrl@ in my configuration files never get
interpolated. These files are in src/main/resources at arbitrary depth.
Any insight into what might be causing this is appreciated.
Thanks.