title: Gradle trying to unzip a pom typed dependency
body: <p>In a project of mine I have a dependency on a java matrix library MTJ which I specify like this in <code>build.gradle</code>:</p>
  
  <pre><code>dependencies {
    ...
    compile 'com.googlecode.matrix-toolkits-java:mtj:1.0.4'
    ...
  }
  </code></pre>
  
  <p>MTJ in turns depends on netlib, more concretely it would be the equivalent of explicitly adding compile <code>'com.github.fommil.netlib:all:1.1.2'</code> above.</p>
  
  <p>When I run the gradle build. I get the following error:</p>
  
  <pre><code>Could not expand ZIP '/Users/valentin/.gradle/caches/modules-2/files-2.1/com.github.fommil.netlib/all/1.1.2/f235011206ac009adad2d6607f222649aba5ca9e/all-1.1.2.pom'. 
  archive is not a ZIP archive.
  </code></pre>
  
  <p>So somehow gradle is confused and treats the file as been a zip file when it is just a pom that points to other dependencies.</p>
  
  <p>Anyone has a fix or knows of a workaround?</p>