File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -639,8 +639,6 @@ object Build {
639
639
" -Ddotty.tests.classes.compilerInterface=" + findArtifactPath(externalDeps, " compiler-interface" ),
640
640
" -Ddotty.tests.classes.scalaLibrary=" + findArtifactPath(externalDeps, " scala-library" ),
641
641
" -Ddotty.tests.classes.scalaAsm=" + findArtifactPath(externalDeps, " scala-asm" ),
642
- " -Ddotty.tests.classes.jlineTerminal=" + findArtifactPath(externalDeps, " jline-terminal" ),
643
- " -Ddotty.tests.classes.jlineReader=" + findArtifactPath(externalDeps, " jline-reader" ),
644
642
)
645
643
},
646
644
@@ -901,7 +899,14 @@ object Build {
901
899
" org.jline" % " jline-reader" % " 3.19.0" ,
902
900
" org.jline" % " jline-terminal" % " 3.19.0" ,
903
901
" org.jline" % " jline-terminal-jna" % " 3.19.0" , // needed for Windows
904
- )
902
+ ),
903
+ javaOptions ++= {
904
+ val externalDeps = externalCompilerClasspathTask.value
905
+ Seq (
906
+ " -Ddotty.tests.classes.jlineTerminal=" + findArtifactPath(externalDeps, " jline-terminal" ),
907
+ " -Ddotty.tests.classes.jlineReader=" + findArtifactPath(externalDeps, " jline-reader" ),
908
+ )
909
+ }
905
910
)
906
911
907
912
def dottyLibrary (implicit mode : Mode ): Project = mode match {
You can’t perform that action at this time.
0 commit comments