@@ -1425,7 +1425,7 @@ object Build {
1425
1425
1426
1426
lazy val `scala3-presentation-compiler` = project.in(file(" presentation-compiler" ))
1427
1427
.withCommonSettings(Bootstrapped )
1428
- .dependsOn(`scala3-compiler-bootstrapped`, `scala3-library-bootstrapped`)
1428
+ .dependsOn(`scala3-compiler-bootstrapped`, `scala3-library-bootstrapped`, `scala3-presentation-compiler-testcases` )
1429
1429
.settings(presentationCompilerSettings)
1430
1430
.settings(scala3PresentationCompilerBuildInfo)
1431
1431
.settings(
@@ -1436,14 +1436,15 @@ object Build {
1436
1436
def scala3PresentationCompilerBuildInfo =
1437
1437
Seq (
1438
1438
ideTestsDependencyClasspath := {
1439
+ val testCasesLib = (`scala3-presentation-compiler-testcases` / Compile / classDirectory).value
1439
1440
val dottyLib = (`scala3-library-bootstrapped` / Compile / classDirectory).value
1440
1441
val scalaLib =
1441
1442
(`scala3-library-bootstrapped` / Compile / dependencyClasspath)
1442
1443
.value
1443
1444
.map(_.data)
1444
1445
.filter(_.getName.matches(" scala-library.*\\ .jar" ))
1445
1446
.toList
1446
- dottyLib :: scalaLib
1447
+ testCasesLib :: dottyLib :: scalaLib
1447
1448
// Nil
1448
1449
},
1449
1450
Compile / buildInfoPackage := " dotty.tools.pc.buildinfo" ,
@@ -1503,6 +1504,10 @@ object Build {
1503
1504
)
1504
1505
}
1505
1506
1507
+ lazy val `scala3-presentation-compiler-testcases` = project.in(file(" presentation-compiler-testcases" ))
1508
+ .dependsOn(`scala3-compiler-bootstrapped`)
1509
+ .settings(commonBootstrappedSettings)
1510
+
1506
1511
lazy val `scala3-language-server` = project.in(file(" language-server" )).
1507
1512
dependsOn(dottyCompiler(Bootstrapped )).
1508
1513
settings(commonBootstrappedSettings).
0 commit comments