title: File dependencies in Gradle?
body: <p>I am trying to specify some jar dependencies using gradle and these instructions:</p>
  
  <p><a href="http://gradle.org/docs/current/userguide/dependency_management.html#sub:file_dependencies">http://gradle.org/docs/current/userguide/dependency_management.html#sub:file_dependencies</a></p>
  
  <p>I have the following project:</p>
  
  <pre><code>test
   -&gt; libs
       -&gt; svnant.jar
   -&gt; build.gradle
  </code></pre>
  
  <p>where build.gradle contains:</p>
  
  <pre><code>dependencies {
    runtime files('libs/svnant.jar')
    runtime fileTree(dir: 'libs', include: '*.jar')
  }
  </code></pre>
  
  <p>when I run gradle from windows cmd I get:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * Where:
  Build file 'C:\...\test\build.gradle' line: 16
  
  * What went wrong:
  A problem occurred evaluating root project 'test'.
  &gt; Could not find method runtime() for arguments [file collection] on root project 'test'.
  </code></pre>
  
  <p>what have I missed?</p>