I would like to do something akin to the following:

test {
   classpath = runtimeClasspath + 
file("${sourceSets.main.resourcesDir}${File.separator}orm.xml")
}

In other words, I have been having trouble doing the following two things:

*        Referencing the resources directory without using the hardcoded 
"src/main/java." Although sourceSets.main.classesDir works, 
sourceSets.main.resourcesDir doesn't.

*        Adding a single file to the runtime classpath with a +

Any help in this areas is appreciated.

Thanks.

Reply via email to