Gradle modify the local repository
Others
2019-06-01 07:46:52
views: null
Problem Description
- Gradle default local warehouse
C:\Users\用户名\.gradle
, did not want to let things take up the C drive has been downloaded resources.
Solution
- New environment variable name:
GRADLE_USER_HOME
variable values D:\Gradle\.gradle
are: ;
- This time Gradle on Eclipse will complain (original path dependence can not find), right-project -> Gradle -> Refresh Gradle Project ... can be.
Origin www.cnblogs.com/wumz/p/10958256.html