title: Gradle cookbook "creating source and resource directories" for other plugin
body: <p>I can see following in cookbook</p>
  
  <pre><code>task "create-dirs" &lt;&lt; {
      sourceSets.all*.java.srcDirs*.each { it.mkdirs() }
      sourceSets.all*.resources.srcDirs*.each { it.mkdirs() }
  }
  </code></pre>
  
  <p>how can i list same for web plugin</p>