Gradle eclipse plugin local dependencies with relative path

I have a build with both local (lib folder in project) and remote dependencies (Maven repo).

When I run gradle eclipse then the local dependencies is added to the .classpath with full path.

I have this in my build file:
implementation fileTree(dir: ‘lib’, include: [‘cics-services.jar’])

I would like the path in the .classpath to be “lib/cics-services.jar” and not “c:\users\klaus…\lib\cics-services.jar”

Any idea as to how I can get rid of the absolute path?


Help needed.


Please help.