Generated Eclipse project has gradle output on classpath
When generating an Eclipse project using gradlew eclipse, the following 2 folders get added to the project's classpath, those should not be there:
If the folders don't exist, the project shows an error which is annoying. When the project is built with gradle, it gets worse: The class files in the gradle output directory overwrite the class files generated by eclipse, meaning all changes done in the IDE don't apply until the project is built again using gradle.
This part is contained in the .classpath file and shouldn't be there:
<classpathentry kind="lib" path="C:/Users/Admin/Desktop/fabric-example-mod-1.21/build/classes/java/client">
<attributes>
<attribute name="test" value="true"/>
<attribute name="gradle_used_by_scope" value="client,test"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="C:/Users/Admin/Desktop/fabric-example-mod-1.21/build/resources/client">
<attributes>
<attribute name="test" value="true"/>
<attribute name="gradle_used_by_scope" value="client,test"/>
</attributes>
</classpathentry>
In this commit I updated fabric in one of my mods, and the previous version doesn't have it, while the new one does
This issue should probably be transferred to the loom repo, but I don't have the perms to do so.