Shay Banon wrote:
Hi, What is the simplest way to configure gradle to copy non java files that exists within src/main/java or src/test/java into their respective target classes directory?
Add 'src/main/java' and 'src/test/java' as resource directories. Gradle will ignore any files it finds in the resource dirs which are also included in the java dirs (or groovy or scala dirs, if appropriate).
To do this, you can do something like: sourceSets.main.resources.srcDir 'src/main/java' sourceSets.test.resources.srcDir 'src/test/java' -- Adam Murdoch Gradle Developer http://www.gradle.org --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
