File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,21 @@ object Jars {
22
22
lazy val scalaXml : String =
23
23
findJarFromRuntime(" scala-xml" )
24
24
25
- /** JLine Jar */
26
- lazy val jline : String =
27
- findJarFromRuntime(" jline-3.7.0" )
25
+ /** jline-terminal jar */
26
+ lazy val jlineTerminal : String =
27
+ findJarFromRuntime(" jline-terminal-3.7.0" )
28
+
29
+ /** jline-reader jar */
30
+ lazy val jlineReader : String =
31
+ findJarFromRuntime(" jline-reader-3.7.0" )
28
32
29
33
/** Dotty extras classpath from env or properties */
30
34
val dottyExtras : List [String ] = sys.env.get(" DOTTY_EXTRAS" )
31
35
.map(_.split(" :" ).toList).getOrElse(Properties .dottyExtras)
32
36
33
37
/** Dotty test dependencies */
34
38
val dottyTestDeps : List [String ] =
35
- dottyLib :: dottyCompiler :: dottyInterfaces :: jline :: dottyExtras
39
+ dottyLib :: dottyCompiler :: dottyInterfaces :: jlineTerminal :: jlineReader :: dottyExtras
36
40
37
41
/** Dotty runtime with compiler dependencies, used for quoted.Expr.run */
38
42
lazy val dottyRunWithCompiler : List [String ] =
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ class CompilationTests extends ParallelTesting {
205
205
// as well as bootstrapped compiler:
206
206
defaultOutputDir + dotty1Group + " /dotty/:" +
207
207
// and the other compiler dependecies:
208
- Jars .dottyInterfaces + " :" + Jars .jline ,
208
+ Jars .dottyInterfaces + " :" + Jars .jlineTerminal + " : " + Jars .jlineReader ,
209
209
Array (" -Ycheck-reentrant" , " -Yemit-tasty-in-class" )
210
210
)
211
211
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ SCALA_ASM=$(find_lib "*scala-asm*")
119
119
SCALA_LIB=$( find_lib " *scala-library*" )
120
120
SCALA_XML=$( find_lib " *scala-xml*" )
121
121
SBT_INTF=$( find_lib " *compiler-interface*" )
122
- JLINE =$( find_lib " *jline-3*" )
122
+ JLINE_READER =$( find_lib " *jline-reader -3*" )
123
123
JLINE_TERMINAL=$( find_lib " *jline-terminal-3*" )
124
124
JLINE_TERMINAL_JNA=$( find_lib " *jline-terminal-jna-3*" )
125
125
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ classpathArgs () {
66
66
toolchain+=" $DOTTY_COMP$PSEP "
67
67
68
68
# jine
69
- toolchain+=" $JLINE $PSEP "
69
+ toolchain+=" $JLINE_READER $PSEP "
70
70
toolchain+=" $JLINE_TERMINAL$PSEP "
71
71
toolchain+=" $JLINE_TERMINAL_JNA "
72
72
Original file line number Diff line number Diff line change @@ -517,7 +517,8 @@ object Build {
517
517
(" org.scala-lang.modules" %% " scala-xml" % " 1.1.0" ).withDottyCompat(scalaVersion.value),
518
518
" org.scala-lang" % " scala-library" % scalacVersion % " test" ,
519
519
Dependencies .compilerInterface(sbtVersion.value),
520
- " org.jline" % " jline" % " 3.7.0" , // used by the REPL
520
+ " org.jline" % " jline-reader" % " 3.7.0" , // used by the REPL
521
+ " org.jline" % " jline-terminal" % " 3.7.0" ,
521
522
" org.jline" % " jline-terminal-jna" % " 3.7.0" // needed for Windows
522
523
),
523
524
You can’t perform that action at this time.
0 commit comments