title: Gradle archive contains more than 65535 entries
body: <p>I am integrating hadoop2.5.0 for running mapreduce job and spring-boot-1.2.7 release and getting error while including this<br>
  1) archive contains more than 65535 entries.</p>
  
  <p>My gradle jar dependency</p>
  
  <pre><code>jar{
  from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
  </code></pre>
  
  <p>2)
  On including zip64 in jar</p>
  
  <pre><code>  jar{
      zip64=true
      from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
  </code></pre>
  
  <p>I am getting invalid or corrupt file<br>
  3)on adding shadowJar I am getting error </p>
  
  <pre><code>shadowJar{
     zip64=true
  }
  </code></pre>
  
  <p>Unable to read bytes        at org.springframework.boot.loader.ExecutableArchiveLauncher<br>
  How should I make one jar out of all dependencies.    </p>