diff --git a/ivy/IvyCache.scala b/ivy/IvyCache.scala index 704192bdf..98d50da9b 100644 --- a/ivy/IvyCache.scala +++ b/ivy/IvyCache.scala @@ -30,7 +30,7 @@ private object NotInCache /** Provides methods for working at the level of a single jar file with the default Ivy cache.*/ object IvyCache { - def lockFile = new File(System.getProperty("java.io.tmpdir"), "sbt.cache.lock") + def lockFile = new File(System.getProperty("user.home"), ".sbt.cache.lock") /** Caches the given 'file' with the given ID. It may be retrieved or cleared using this ID.*/ def cacheJar(moduleID: ModuleID, file: File, lock: Option[xsbti.GlobalLock], log: IvyLogger) {