mirror of https://github.com/sbt/sbt.git
better choice of global lock file
This commit is contained in:
parent
e0579ad5a8
commit
d08517f57d
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue