Hello, I have a simple project which has two major branch namely main and test. The test dir looks like as below. src->test->groovy->'some files'
I need to run one of these some files, which is a groovy script, in my gradle task. This script requires a file present in src/test/groovy/<one file> and also src/test/groovy/models/<one_file>. I have a gradle task as below task runTest(dependsOn:[copyTask,classes], type:JavaExec) { main = 'myScript' classpath sourceSets.test.runtimeClasspath classpath sourceSets.main.runtimeClasspath } How do I make myScript to access the files required by it? Any pointer to gradle documentation will help Any example would help a lot :-) -- View this message in context: http://gradle.1045684.n5.nabble.com/New-to-gradle-Referring-a-file-that-is-present-inside-source-directory-tp5712795.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