mirror of https://github.com/sbt/sbt.git
Use Array to talk to proper build
This commit is contained in:
parent
5840532687
commit
d2def1ac74
|
|
@ -121,7 +121,7 @@ object Scripted {
|
|||
prescripted: java.util.List[File],
|
||||
scalaVersion: String,
|
||||
sbtVersion: String,
|
||||
classpath: Seq[File],
|
||||
classpath: Array[File],
|
||||
instances: Int
|
||||
): Unit
|
||||
}
|
||||
|
|
@ -154,7 +154,7 @@ object Scripted {
|
|||
callback,
|
||||
scalaVersion,
|
||||
sbtVersion,
|
||||
classpath,
|
||||
classpath.toArray,
|
||||
instances
|
||||
)
|
||||
} catch { case ite: InvocationTargetException => throw ite.getCause }
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ object ScriptedTests extends ScriptedRunner {
|
|||
new java.util.ArrayList[File],
|
||||
defScalaVersion,
|
||||
sbtVersion,
|
||||
cp.toSeq,
|
||||
cp,
|
||||
1
|
||||
)
|
||||
}
|
||||
|
|
@ -413,7 +413,7 @@ class ScriptedRunner {
|
|||
prescripted: java.util.List[File],
|
||||
scalaVersion: String,
|
||||
sbtVersion: String,
|
||||
classpath: Seq[File],
|
||||
classpath: Array[File],
|
||||
instances: Int
|
||||
): Unit = {
|
||||
val addTestFile = (f: File) => { prescripted.add(f); () }
|
||||
|
|
@ -444,7 +444,7 @@ class ScriptedRunner {
|
|||
prescripted: java.util.List[File],
|
||||
sbtVersion: String,
|
||||
scalaVersion: String,
|
||||
classpath: Seq[File],
|
||||
classpath: Array[File],
|
||||
instances: Int
|
||||
): Unit =
|
||||
runInParallel(
|
||||
|
|
|
|||
Loading…
Reference in New Issue