title: Gradle tokens from a properties file
body: <p>I'm trying to configure a spring application that has some tokens on the configuration xml, like:</p>
  
  <pre><code>... &lt;property name="databasePlatform" value="${hibernate.databasePlatform}" /&gt; ...
  </code></pre>
  
  <p>These tokens worked on an Ant build with build.properties and now I'm trying to make this substitution using gradle. I tried to use ReplaceTokens but now I think that expand would be more suitable but I can get it work. I'm using processResources task:</p>
  
  <pre><code>processResources { expand(project.properties) }
  </code></pre>
  
  <p>But the whe I run the build it still complains about the missing placeholder:</p>
  
  <pre><code>Could not resolve placeholder 'hibernate.databasePlatform' in string value "${hibernate.databasePlatform}"
  </code></pre>
  
  <p>Is there anything that I had missed?</p>