Adds sbt.boot.lock sysprop to opt-out

Adds sbt.boot.lock as a system property to opt-out of locking.

This might be useful when running on filesystems on which the locking code path would throw an exception.

Upstream issue: https://bugs.openjdk.java.net/browse/JDK-8193594
Provides a workaround for #2222, thus...
Closes #2222.
This commit is contained in:
Dale Wijnand 2018-02-07 09:22:42 +00:00 committed by Dale Wijnand
parent cbf7d92488
commit 402378a81e
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
[boot]
directory: ${sbt.boot.directory-${sbt.global.base-${user.home}/.sbt}/boot/}
lock: ${sbt.boot.lock-true}
[ivy]
ivy-home: ${sbt.ivy.home-${user.home}/.ivy2/}