The Gradle cache defaults to “$USER_HOME/.gradle/caches”, but it can be defined to be located elsewhere. I found it a practical thing to have it somewhere relative to some project directory. So I defined it in “gradle.properties” like this:
This works fine when using the Gradle cmd line; Gradle then puts downloaded 3rd party jars somewhere below this directory.
My intention was, that this was respected by the STS Eclipse plugin, so that we can have relative path names to these 3rd party jars within Eclipse “.classpath”. But obviousley, the STS plugin does not know of this property and it’s value. So, when Eclipse IDE is initalized, it first does another download of all 3rd party jars into Gradle’s default cache location.