Eclipse plugin adds "src-main-java" and "main-java" to classpath src sets?


Upgraded to gradle 2.7. I re-generated my eclipse projects at some point, using gradle eclipse, and found 2 new entries in the .classpath files, which eclipse is not happy with :

<classpathentry kind="src" path="main-java"/>
<classpathentry kind="src" path="src-main-java"/>

I do some minor editing on the classpath files within gradle (removing some nodes using classpath - file - withxml) but this doesn’t look like a result of that.