Skip to content

Commit 320dda9

Browse files
committed
move jline dependencies to repl subproject
1 parent c4219e9 commit 320dda9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

project/Build.scala

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,6 @@ object Build {
596596
libraryDependencies ++= Seq(
597597
"org.scala-lang.modules" % "scala-asm" % "9.5.0-scala-1", // used by the backend
598598
Dependencies.compilerInterface,
599-
"org.jline" % "jline-reader" % "3.19.0", // used by the REPL
600-
"org.jline" % "jline-terminal" % "3.19.0",
601-
"org.jline" % "jline-terminal-jna" % "3.19.0", // needed for Windows
602599
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
603600
),
604601

@@ -898,7 +895,14 @@ object Build {
898895

899896
lazy val `scala3-repl` = project.in(file("repl")).
900897
asDottyLibrary(NonBootstrapped).
901-
dependsOn(`scala3-compiler`)
898+
dependsOn(`scala3-compiler`).
899+
settings(
900+
libraryDependencies ++= Seq(
901+
"org.jline" % "jline-reader" % "3.19.0",
902+
"org.jline" % "jline-terminal" % "3.19.0",
903+
"org.jline" % "jline-terminal-jna" % "3.19.0", // needed for Windows
904+
)
905+
)
902906

903907
def dottyLibrary(implicit mode: Mode): Project = mode match {
904908
case NonBootstrapped => `scala3-library`

0 commit comments

Comments
 (0)