mirror of https://github.com/sbt/sbt.git
Fix sbt.IllegalReferenceSpec
This commit is contained in:
parent
72aa0780fc
commit
7aa4034e73
12
build.sbt
12
build.sbt
|
|
@ -954,6 +954,18 @@ lazy val sbtProj = (project in file("sbt"))
|
|||
mimaSettings,
|
||||
mimaBinaryIssueFilters ++= sbtIgnoredProblems,
|
||||
)
|
||||
.settings(
|
||||
Test / run / connectInput := true,
|
||||
Test / run / outputStrategy := Some(StdoutOutput),
|
||||
Test / run / fork := true,
|
||||
testOptions in Test ++= {
|
||||
val cp = (Test / fullClasspathAsJars).value.map(_.data).mkString(java.io.File.pathSeparator)
|
||||
val framework = TestFrameworks.ScalaTest
|
||||
Tests.Argument(framework, s"-Dsbt.server.classpath=$cp") ::
|
||||
Tests.Argument(framework, s"-Dsbt.server.version=${version.value}") ::
|
||||
Tests.Argument(framework, s"-Dsbt.server.scala.version=${scalaVersion.value}") :: Nil
|
||||
},
|
||||
)
|
||||
.configure(addSbtIO, addSbtCompilerBridge)
|
||||
|
||||
lazy val serverTestProj = (project in file("server-test"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue