Use Array to talk to proper build

This commit is contained in:
Eugene Yokota 2020-03-18 16:28:51 -04:00
parent 5840532687
commit d2def1ac74
2 changed files with 5 additions and 5 deletions

View File

@ -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 }

View File

@ -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(