task "create-dirs" << { sourceSets.all*.java.srcDirs*.each { it.mkdirs() } sourceSets.all*.resources.srcDirs*.each { it.mkdirs() } }
I am wondering why not this code be available in all Plugins, once i apply a plugin i get a ready made command to create the strucutre :) -- View this message in context: http://gradle.1045684.n5.nabble.com/Gradle-Plugin-for-a-new-framework-tp3298741p3329995.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email