Skip to content

Commit b159931

Browse files
committed
fixup inter-project test dependencies
1 parent cf6362a commit b159931

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/Build.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ object Build {
895895

896896
lazy val `scala3-repl` = project.in(file("repl")).
897897
asDottyLibrary(NonBootstrapped).
898-
dependsOn(`scala3-compiler`).
898+
dependsOn(`scala3-compiler` % "compile->compile;test->test").
899899
settings(
900900
libraryDependencies ++= Seq(
901901
"org.jline" % "jline-reader" % "3.19.0",
@@ -962,6 +962,7 @@ object Build {
962962
// when compiling a project that depends on scala3-staging (see sbt-test/sbt-dotty/quoted-example-project),
963963
// but we always need it to be present on the JVM classpath at runtime.
964964
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
965+
dependsOn(`scala3-repl` % "test->test").
965966
settings(
966967
javaOptions := (`scala3-compiler-bootstrapped` / javaOptions).value
967968
)

0 commit comments

Comments
 (0)