mirror of
https://github.com/sbt/sbt.git
synced 2026-08-31 02:05:09 +02:00
Fix global lock implementation for ComponentManager
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package xsbti;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
public interface GlobalLock
|
||||
{
|
||||
public <T> T apply(File lockFile, Callable<T> run);
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
package xsbti;
|
||||
|
||||
|
||||
public interface Launcher
|
||||
{
|
||||
public static final int InterfaceVersion = 1;
|
||||
public ScalaProvider getScala(String version);
|
||||
public ClassLoader topLoader();
|
||||
public GlobalLock globalLock();
|
||||
}
|
||||
Reference in New Issue
Block a user