On 06/01/2011, at 4:40 PM, rajmahendra wrote:

> 
> 
> 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 :) 

The only reason is that no-one has gotten around to implementing it yet. It's 
certainly something we want to do.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to