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],
|
prescripted: java.util.List[File],
|
||||||
scalaVersion: String,
|
scalaVersion: String,
|
||||||
sbtVersion: String,
|
sbtVersion: String,
|
||||||
classpath: Seq[File],
|
classpath: Array[File],
|
||||||
instances: Int
|
instances: Int
|
||||||
): Unit
|
): Unit
|
||||||
}
|
}
|
||||||
|
|
@ -154,7 +154,7 @@ object Scripted {
|
||||||
callback,
|
callback,
|
||||||
scalaVersion,
|
scalaVersion,
|
||||||
sbtVersion,
|
sbtVersion,
|
||||||
classpath,
|
classpath.toArray,
|
||||||
instances
|
instances
|
||||||
)
|
)
|
||||||
} catch { case ite: InvocationTargetException => throw ite.getCause }
|
} catch { case ite: InvocationTargetException => throw ite.getCause }
|
||||||
|
|
|
||||||
|
|
@ -392,7 +392,7 @@ object ScriptedTests extends ScriptedRunner {
|
||||||
new java.util.ArrayList[File],
|
new java.util.ArrayList[File],
|
||||||
defScalaVersion,
|
defScalaVersion,
|
||||||
sbtVersion,
|
sbtVersion,
|
||||||
cp.toSeq,
|
cp,
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -413,7 +413,7 @@ class ScriptedRunner {
|
||||||
prescripted: java.util.List[File],
|
prescripted: java.util.List[File],
|
||||||
scalaVersion: String,
|
scalaVersion: String,
|
||||||
sbtVersion: String,
|
sbtVersion: String,
|
||||||
classpath: Seq[File],
|
classpath: Array[File],
|
||||||
instances: Int
|
instances: Int
|
||||||
): Unit = {
|
): Unit = {
|
||||||
val addTestFile = (f: File) => { prescripted.add(f); () }
|
val addTestFile = (f: File) => { prescripted.add(f); () }
|
||||||
|
|
@ -444,7 +444,7 @@ class ScriptedRunner {
|
||||||
prescripted: java.util.List[File],
|
prescripted: java.util.List[File],
|
||||||
sbtVersion: String,
|
sbtVersion: String,
|
||||||
scalaVersion: String,
|
scalaVersion: String,
|
||||||
classpath: Seq[File],
|
classpath: Array[File],
|
||||||
instances: Int
|
instances: Int
|
||||||
): Unit =
|
): Unit =
|
||||||
runInParallel(
|
runInParallel(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue