Update doc

Add note about escaping Spring property placeholders when using Gradle
automatic expansion.

Closes gh-2695
This commit is contained in:
Marcel Overdijk 2015-03-21 23:11:14 +01:00 committed by Stephane Nicoll
parent c1eea4cf40
commit c0c67f2593
1 changed files with 5 additions and 0 deletions

View File

@ -354,6 +354,11 @@ You can then refer to your Gradle project's properties via placeholders, e.g.
info.build.version=${version}
----
NOTE: Gradle's `expand` method uses Groovy's `SimpleTemplateEngine` which transforms
`${..}` tokens. This `${..}` style conflicts with Spring's own property placeholder
mechanism. To use Spring property placeholders together with automatic expansion
the Spring property placeholders need to be escaped like `\${..}`.
[[production-ready-git-commit-information]]