diff --git a/project/Scripted.scala b/project/Scripted.scala index d4119e2be..7bc7ccb06 100644 --- a/project/Scripted.scala +++ b/project/Scripted.scala @@ -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 } diff --git a/scripted-sbt-redux/src/main/scala/sbt/scriptedtest/ScriptedTests.scala b/scripted-sbt-redux/src/main/scala/sbt/scriptedtest/ScriptedTests.scala index 666d99a84..5919f6a45 100644 --- a/scripted-sbt-redux/src/main/scala/sbt/scriptedtest/ScriptedTests.scala +++ b/scripted-sbt-redux/src/main/scala/sbt/scriptedtest/ScriptedTests.scala @@ -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(