title: Gradle war plugin creation of directory structure
body: <p>Using Eclipse I created a Gradle application which is a library, I want to create a web application and generate a <code>.war</code> file, so I added the <code>war</code> plugin:</p>
  <pre><code>plugins {
      // Apply the java-library plugin for API and implementation separation.
      id 'java-library'
      id 'war'
  }
  </code></pre>
  <p>On the documentation <a href="https://docs.gradle.org/current/userguide/war_plugin.html" rel="nofollow noreferrer">https://docs.gradle.org/current/userguide/war_plugin.html</a> it says that it creates a directory structure, but it doesn't create for me. Do I have to do something for it to create it or do I have to create it by hand?</p>