Is your question how to define new SourceSets representing particular folders?
If so, see 21.7 in the User Guide: http://gradle.org/0.9-rc-3/docs/userguide/java_plugin.html#sec:source_sets ~~ Robert. On 9 December 2010 06:09, rajmahendra <[email protected]> wrote: > > Hi > > I am creating a Gradle plugin for first time for a new Framework. > > i am trying to create a project structure for the framework. > > i can create a project using a build.gradle as... > task "create-dirs" << { > sourceSets.all*.java.srcDirs*.each { it.mkdirs() } > sourceSets.all*.resources.srcDirs*.each { it.mkdirs() } > } > > I want to add my project structure into soruceSets so i can create my > project folders somethign like > src/main/myfolder > how to add my structure into sourceSets througth Plugin > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Gradle-Plugin-for-a-new-framework-tp3298741p3298741.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 > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
