title: Set gradle temporary directory to SSD
body: <p>I am using android studio with gradle. When I build the app, I notice the spinning harddisk is working a lot, so I looked and saw that gradle is writing temporary files to the directory defined (in Windows (8.1)) the variable <code>TEMP</code> or <code>TMP</code> under my user.</p>
  
  <p><strong>Is there some way I can change the directory gradle uses as temporary directory without changing it for all other applications as well?</strong></p>
  
  <p>I would like to move the gradle temp dir to an SSD. (Bonus question: do you think this would significantly speed up gradle, that is currently very slow)</p>