title: Gradle adding compile dependencies to Proguard libraryjars
body: <p>I'm trying to add compile dependencies(B.jar and C.jar) to proguard <a href="http://proguard.sourceforge.net/manual/usage.html#libraryjars" rel="noreferrer">libraryjars</a>.</p>
  
  <p>Running:</p>
  
  <pre><code>println configurations.compile.collect()
  </code></pre>
  
  <p>I get: </p>
  
  <pre><code>[../B.jar, ../C.jar]
  </code></pre>
  
  <p>Here's what I've attempted:</p>
  
  <pre><code>task proguard(type: proguard.gradle.ProGuardTask) {
      ...
      libraryjars "${configurations.compile.collect()}"
      ...
  }
  </code></pre>
  
  <p>For reference, the following works:</p>
  
  <pre><code>task proguard(type: proguard.gradle.ProGuardTask) {
      ...
      libraryjars "../B.jar"
      libraryjars "../C.jar"
      ...
  }
  </code></pre>
  
  <p>This is obviously and example and my real projects has many dependencies. Any ideas?</p>