Skip to content

Commit c306103

Browse files
committed
Explain fork in (Test, test) := true.
1 parent e6c7b42 commit c306103

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ lazy val compilation = addJmh(project).settings(
4545
mainClass in (Jmh, run) := Some("scala.bench.ScalacBenchmarkRunner"),
4646
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test,
4747
testOptions in Test += Tests.Argument(TestFrameworks.JUnit),
48-
fork in (Test, test) := true,
49-
fork in run := true
48+
fork in (Test, test) := true // jmh scoped tasks run with fork := true.
5049
).settings(addJavaOptions).dependsOn(infrastructure)
5150

5251
lazy val micro = addJmh(project).settings(

0 commit comments

Comments
 (0)