Using Android Studio: To keep my source directories small, for google drive backup etc, I found how to specify a global gradle build directory outside my project directories here: Gradle global build directory Is it possible also to put the rather large .gradle/.../taskArtifacts directory outside the project directory.
Asked
Active
Viewed 475 times
1 Answers
1
Set --gradle-cache-dir
when invoking gradle from the command line.

RaGe
- 22,696
- 11
- 72
- 104
-
I am using Android Studio, and I cannot find out how to issue this command to Gradle. Would you know how to do it in a Gradle initialization script? – Red wine Feb 05 '16 at 03:37