mirror of https://github.com/sbt/sbt.git
Resolve `scripted-sbt-redux` to run scripted
Previously, in sbt 2, the Scripted plugin was not resolving any module that would provide it with the `ScriptedTests` object, and could therefore not run scripted tests. With this patch, `scripted-sbt-redux` will be resolved and added to the classloader that's used to load `sbt.scriptedtest.ScriptedTests`.
This commit is contained in:
parent
dd0d43bab4
commit
6679067bcb
|
|
@ -79,6 +79,7 @@ object ScriptedPlugin extends AutoPlugin {
|
|||
)
|
||||
case Some((2, _)) =>
|
||||
Seq(
|
||||
"org.scala-sbt" %% "scripted-sbt-redux" % scriptedSbt.value % ScriptedConf,
|
||||
"org.scala-sbt" % "sbt-launch" % scriptedSbt.value % ScriptedLaunchConf
|
||||
)
|
||||
case Some((x, y)) => sys error s"Unknown sbt version ${scriptedSbt.value} ($x.$y)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue