Skip to content

Commit c805f48

Browse files
committed
Move junit dependency back to the Test scope
1 parent 047e953 commit c805f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
167167
scalaModuleMimaPreviousVersion := None, // No such release yet
168168
// Scala Native cannot run forked tests
169169
Test / fork := false,
170-
libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion,
171-
addCompilerPlugin("org.scala-native" % "junit-plugin" % nativeVersion cross CrossVersion.full),
170+
Test / libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion,
171+
addCompilerPlugin("org.scala-native" % "junit-plugin" % nativeVersion % Test cross CrossVersion.full),
172172
Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-s", "-v")
173173
)

0 commit comments

Comments
 (0)