Ooooh... my thread. :) For those interested, I rolled my standard methods into a plug-in:
http://meta-jb.svn.sourceforge.net/viewvc/meta-jb/trunk/dev/gradle-plugins/shared-tree.gradle?revision=4150&view=markup And an example of using it to target just a particular package: http://meta-jb.svn.sourceforge.net/viewvc/meta-jb/trunk/dev/ext/cmd/build.gradle?revision=4192&view=markup Hope it helps someone. -Paul On 11/23/2010 5:32 PM, Rene Groeschke wrote:
hi omax, There was a discussion about that on the mailinglist. have a look at this thread: http://www.mail-archive.com/[email protected]/msg02755.html If you need further help, don't hesitate to ask. regards, René Am 23.11.10 23:15, schrieb omax:Hello, I have usual setup of my sourceSets as following: sourceSets { main { java { srcDir 'src' } } } But some java sources are not compilable and I would like to exclude them. Is there any easy way to do it with gradle? I could do it with Maven using standard excludes as following: <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes> <exclude>**/uncompilable/**</exclude> </excludes> </configuration> </plugin>-- ------------------------------------ Rene Groeschke [email protected] http://www.breskeby.com http://twitter.com/breskeby ------------------------------------
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
