How to change Gradle download location
You can set the GRADLE_USER_HOME
environment variable, gradle.user.home
system property, or --gradle-user-home
command line parameter.
On android studio just go to File > Settings > Build Execution, Deployment > Gradle > Service directory path choose directory what you want.
You can also try to go in eclipse at window ->preferences -> gradle and change the directory there
You can add following line to your gradle.properties
:
systemProp.gradle.user.home=/tmp/changed-gradle