title: Is resource filtering in Gradle possible without using tokens?
body: <p>The recommended way to do resource filtering in Gradle is by having tokens in the properties file and then replacing them when processing.</p>
  
  <p>Example</p>
  
  <pre><code># config.properties
  hostname = @myhost@
  </code></pre>
  
  <p>and in build.gradle do something like below</p>
  
  <pre><code>processResources {
     filter ReplaceTokens, tokens: [
        "myhost": project.property('myhost')
     ]
  }
  </code></pre>
  
  <p>The problem with this approach is that it won't work when running from IDEs like eclipse. I would like the property files to be free of Gradle specific tokens i.e just have </p>
  
  <pre><code>hostname = localhost
  </code></pre>
  
  <p>but have option to replace it when building from Gradle.</p>