title: Gradle dependency destination on non-jar config file
body: <p>I can create a dependency to something other than a jar file like this:</p>
  
  <pre><code>dependencies {
      compile files("../other-project/config.txt")
  }
  </code></pre>
  
  <p>The above works fine, except that config.txt ends up in the WEB-INF/lib folder of my war file. Instead I need it to be in WEB-INF/classes in the war file, and in src/main/resources for jettyRun.</p>
  
  <p>How can I control where the dependency ends up? Or am I going about this the wrong way?</p>
  
  <p>I can also solve this with a copy task, but this really is a dependency in that I don't need the file updated unless it changes. An unconditional copy would work, but I'd rather do this the right way.</p>