title: How to configure Ivy cache directory per-user or system-wide?
body: <p>I am using <a href="http://www.scala-sbt.org/" rel="noreferrer">SBT</a> as my build tool for building a Scala project.</p>
  
  <p>My problem is, I can't configure SBT to download dependencies to my user home directory. Therefore I am looking for a per-user or even better a system-wide setting to tell SBT to put the Ivy cache directory somewhere else.</p>
  
  <p>With maven there is the per-user settings.xml that can be used to configure the local repository.</p>
  
  <p>I have read question <a href="https://stackoverflow.com/questions/1293113/how-to-override-the-location-of-ivys-cache">How to override the location of Ivy’s Cache?</a> and it's answers, but it seems it only describes how to configure the setting on a per project basis.</p>
  
  <p>If there is no alternative I would go for a per-project setting, but I didn't get the answer from the mentioned question to work. Some more details would be most welcome, for example where to put the ivysettings.xml. I put it into the project's root directory and it didn't work.</p>