@@ -1167,6 +1167,11 @@ object Build {
1167
1167
sources.in(Test ) := Nil
1168
1168
)
1169
1169
1170
+ def scalaDoc (implicit mode : Mode ): Project = mode match {
1171
+ case NonBootstrapped => `scaladoc-nonBootstrapped`
1172
+ case Bootstrapped => scaladoc
1173
+ }
1174
+
1170
1175
lazy val `scaladoc-testcases` = project.in(file(" scaladoc-testcases" )).asScaladocTestcases
1171
1176
1172
1177
lazy val `scaladoc-js` = project.in(file(" scaladoc-js" )).asScaladocJs
@@ -1459,7 +1464,7 @@ object Build {
1459
1464
1460
1465
// FIXME: we do not aggregate `bin` because its tests delete jars, thus breaking other tests
1461
1466
def asDottyRoot (implicit mode : Mode ): Project = project.withCommonSettings.
1462
- aggregate(`scala3-interfaces`, dottyLibrary, dottyCompiler, tastyCore, scaladoc, `scala3-sbt-bridge`).
1467
+ aggregate(`scala3-interfaces`, dottyLibrary, dottyCompiler, tastyCore, ` scaladoc-nonBootstrapped` , `scala3-sbt-bridge`).
1463
1468
bootstrappedAggregate(`scala3-language-server`, `scala3-staging`, `scala3-tasty-inspector`,
1464
1469
`scala3-library-bootstrappedJS`, scaladoc).
1465
1470
dependsOn(tastyCore).
@@ -1681,7 +1686,7 @@ object Build {
1681
1686
def asDist (implicit mode : Mode ): Project = project.
1682
1687
enablePlugins(PackPlugin ).
1683
1688
withCommonSettings.
1684
- dependsOn(`scala3-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `scala3-staging`, `scala3-tasty-inspector`, scaladoc ).
1689
+ dependsOn(`scala3-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `scala3-staging`, `scala3-tasty-inspector`, scalaDoc ).
1685
1690
settings(commonDistSettings).
1686
1691
bootstrappedSettings(
1687
1692
target := baseDirectory.value / " target" // override setting in commonBootstrappedSettings
0 commit comments