Format build.sbt

This commit is contained in:
Eugene Yokota 2020-02-14 00:06:34 -05:00
parent 02152cc41b
commit 72aa0780fc
2 changed files with 12 additions and 3 deletions

View File

@ -970,9 +970,11 @@ lazy val serverTestProj = (project in file("server-test"))
Test / fork := true,
Test / javaOptions ++= {
val cp = (Test / fullClasspathAsJars).value.map(_.data).mkString(java.io.File.pathSeparator)
List(s"-Dsbt.server.classpath=$cp",
List(
s"-Dsbt.server.classpath=$cp",
s"-Dsbt.server.version=${version.value}",
s"-Dsbt.server.scala.version=${scalaVersion.value}")
s"-Dsbt.server.scala.version=${scalaVersion.value}"
)
},
)

View File

@ -11,7 +11,14 @@ object NightlyPlugin extends AutoPlugin {
def testDependencies = libraryDependencies ++= (
if (includeTestDependencies.value)
Seq(scalacheck % Test, specs2 % Test, junit % Test, scalatest % Test, scalaVerify % Test, hedgehog % Test)
Seq(
scalacheck % Test,
specs2 % Test,
junit % Test,
scalatest % Test,
scalaVerify % Test,
hedgehog % Test
)
else Seq()
)
}