I use this code to add all the dependencies needed to the classpath files:
//adding extra configurations:
plusConfigurations += configurations.compile
//default settings for dependencies sources/javadoc download:
downloadSources = true
downloadJavadoc = false
But when I start my gradle script with “gradle eclipse” it creates new .classpath files with the correct dependencies but just one subdirectory too deep:
The folder de.prob.releng contains the script, and should contain the script only, but gradle eclipse makes copies of the actual projects in this subdirectory and creates there the .classpath files.
It actually nearly works, it would just be nice if it would do the exact same thing one folder above.
So my question would be: Can you tell gradle that the actual workspace is one folder above the script itself?
( e.g. EclipseWorkspace = “…/” )
Thank you very much for your help!