title: How to create an empty folder while creating a zip in gradle
body: <p>i want to build the war file and include an empty folders like "classes" and "META-INF". I have the following code:</p>
  
  <pre><code>task buildWar(type: Zip){
      archiveName = 'myproject.war'
      includeEmptyDirs = true
      destinationDir = file("$targetDir/project")
  
      from("$root/grab/lib"){
          include "*.jar"
          into "WEB-INF/lib"
      }
  
  }
  </code></pre>
  
  <p>I need to create "classes" and "META-INF". How i can do it inside buildWar task?</p>