I’d like control my project and classpath setup through Eclipse, and have gradle use that setup. However, whenever I do a refresh all (using gradle through STS), my classpath file is overwritten. What is causing this, and is there a way to disable it?
Sounds like you’re going against the grain. You can derive your .classpath from build.gradle using the eclipse plugin to Gradle, and that’s what STS is doing. I’m not aware of a way to push your .classpath into build.gradle.
FWIW, we’ve stopped using the Gradle project facet provided by STS. Instead we manually execute “gradle cleanEclipse eclipse” or variations such as “gradle cleanEclipseClasspath eclipseClasspath”.