Adding a resource-link to the eclipse .classpath file


By adding the following lines to my build.gradle:

eclipse {
  project {
    linkedResource name: 'src-core', type: '2', locationUri: 'MY_ROOT/project-core/src/main/java'

the .project file has been successfully changed with the new lines:


Unfortunately it is is not being added the the .classpath file which is why eclipse is not recognizing this as a java-source-folder.

I have done quite a bit of research now and cannot find a solution. Has anyone attempted this and got it working?

Any help would be greatly appreciated!

Best regards, Michael

No hint?

This is stinging me as well.