Skip to content

Commit

Permalink
Common: bump SBT to 1.1.2 (close #89)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuwy committed May 7, 2018
1 parent ec54d56 commit 3ab973f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 9 additions & 11 deletions project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,16 @@ object BuildSettings {
}.taskValue
)


lazy val oneJvmPerTestSetting =
testGrouping in Test := (definedTests in Test).value map { test =>
Tests.Group(name = test.name, tests = Seq(test), runPolicy = Tests.SubProcess(
ForkOptions(
javaHome.value,
outputStrategy.value,
Nil,
Some(baseDirectory.value),
javaOptions.value,
connectInput.value,
envVars.value
)))
val forkOptions = ForkOptions()
.withJavaHome(javaHome.value)
.withOutputStrategy(outputStrategy.value)
.withBootJars(Vector.empty)
.withWorkingDirectory(Option(baseDirectory.value))
.withConnectInput(connectInput.value)

val runPolicy = Tests.SubProcess(forkOptions)
Tests.Group(name = test.name, tests = Seq(test), runPolicy = runPolicy)
}
}
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.16
sbt.version=1.1.2

0 comments on commit 3ab973f

Please sign in to comment.