title: gradle distZip rename archive
body: <p>I want to use a specific name to the distributable zip archive created by distZip task. I used below code</p>
  
  <pre><code>distZip {
          archiveName baseName+'-'+version+'-bin.zip'
  }
  </code></pre>
  
  <p>Generated archive contains 'baseName+'-'+version+'-bin' folder in it. </p>
  
  <pre>
  
      jar -tvf baseName-version-bin.zip 
          0 Mon Feb 24 15:48:02 CST 2014   baseName-version-bin/
       81462 Mon Feb 24 15:48:02 CST 2014  baseName-version-bin/baseName-version.jar
           0 Mon Feb 24 15:48:02 CST 2014  baseName-version-bin/lib/
      6329376 Fri Feb 07 09:37:28 CST 2014 baseName-version-bin/lib/a.jar
      6329376 Fri Feb 07 09:37:28 CST 2014 baseName-version-bin/lib/b.jar
  
  </pre>
  
  <p>All the jars were placed inside this directory. I just want to rename the archive and not disturb the contents in it. I was expecting 'baseName-version' directory without '-bin' suffix inside the zip.</p>
  
  <p>How do I alter the name of archive alone?</p>