Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Currently, the pre-defined Gradle cache points to the directory ~/.gradle/caches .
It would be great if the pre-defined cache location was updated to ${GRADLE_USER_HOME:-}/.gradle/caches so it first looks for the environment variables GRADLE_USER_HOME, and if that variable does not exist in the environment, it defaults to the user's home directory ** (as it's currently doing today).
Currently the users have to create a custom cache location to implement the above :
caches: # Override bitbucket defined cache to be more accurate gradle: ${GRADLE_USER_HOME:-~}/.gradle/caches