Hans Dockter wrote:
Hi Steve,

I just used the new CopySpec feature the first time and I'm very excited. This is powerful stuff and exactly the evolution I love to see for Gradle.


+1.

I think CopySpec would also make an excellent API for specifying the contents of an archive. The pattern would also work well for specifying java source, resources, etc:

javaSrc {
   include '**some shared include**'
   exclude '** some shared exclude **'
   srcDirs 'src/main/java', 'src/shared/java'
   srcDir 'some/other/dir' {
       include '** some specific include **'
       include '** some specific exclude **'
   }
}



Adam


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to