Java processResources in eclipse

Hi,

I have a multi project java build.
Project A has a dependency to project B and also to some java files that are located in the src folder of project B.
I declare that using processResources:

processResources {
	from(sourceSets.main.java.srcDirs[0]) {
		include 'com/softwareag/rules/functions/BusinessRulesCustomFunctions.java'
	}
}

My code uses these java classes and when running a test with gradle everything works as expected. But when I generate the eclipse project files (gradlew ecl) and run the same test from eclipse, eclipse does not include the BusinessRulesCustomFunctions.java file in the test runtime.

Any ideas how I can tell eclipse to include it too?

Thanks,
Sven