Enable DSL Support pollute project classpath

(sebtardif) #1

I’m using latest release of Eclipse/STS with latest release of plug-ins and Gradle, then if I have a Java project importing “import org.apache.commons.collections.CollectionUtils” it compile in Eclipse but not in Gradle command line.

It seems that the classpath of Eclipse Gradle “Enable DSL Support” get merged to my project classpath!

So when I disable “Enable DSL Support” it start to also not compile in Eclipse.

That cannot be right. Imagine if all the Eclipse plug-in start to add their classpath to my project!!!