title: Not able to create a Zip archive in Gradle
body: <p>I'm trying to create a simple Zip archive that contains all the javascript files in my resources directory </p>
  
  <p>Here's the code:</p>
  
  <pre><code>  task zip(type:Zip){
      from ('resources/'){
          include '*.js'
      }
      into 'resources'
  }
  </code></pre>
  
  <p>This does not seem to work for some reason. I've heard many people saying that all you need is a <code>from</code> and <code>into</code> to create an archive. Can someone help me here ? I'm using Gradle v1.0. Thanks in advance. </p>