Adding a dir to a source set's output puts it on the Eclipse classpath

The simple problem is that calling sourceSets..output.dir(blah), results in “blah” being put on the Eclipse classpath as a library. Since Eclipse will be building that source in its own way, I don’t want Gradle’s output to be on the classpath.

I was trying to track down where this happens in the Gradle source, but I didn’t find anything.

Does this seem like an issue to anyone else or should I just work around it by removing those entries from the classpath before its written out? (I’ll probably have to work around it temporarily regardless)