@@ -1239,7 +1239,7 @@ object Build {
1239
1239
libraryDependencies += (" org.scala-js" %%% " scalajs-dom" % " 1.1.0" ).cross(CrossVersion .for3Use2_13)
1240
1240
)
1241
1241
1242
- def generateDocumentation (targets : Seq [String ], name : String , outDir : String , ref : String , params : Seq [String ] = Nil , addBootclasspath : Boolean = false ) =
1242
+ def generateDocumentation (targets : Seq [String ], name : String , outDir : String , ref : String , params : Seq [String ] = Nil ) =
1243
1243
Def .taskDyn {
1244
1244
val distLocation = (dist / pack).value
1245
1245
val projectVersion = version.value
@@ -1251,13 +1251,6 @@ object Build {
1251
1251
def srcManaged (v : String , s : String ) = s " out/bootstrap/stdlib-bootstrapped/scala- $v/src_managed/main/ $s-library-src "
1252
1252
def scalaSrcLink (v : String , s : String ) = s " -source-links: $s=github://scala/scala/v $v#src/library "
1253
1253
def dottySrcLink (v : String , s : String ) = s " -source-links: $s=github://lampepfl/dotty/ $v#library/src "
1254
- def bootclasspath : Seq [String ] = if (addBootclasspath) Seq (
1255
- " -bootclasspath" ,
1256
- Seq (
1257
- scalaLib,
1258
- dottyLib
1259
- ).mkString(System .getProperty(" path.separator" ))
1260
- ) else Nil
1261
1254
1262
1255
val revision = Seq (" -revision" , ref, " -project-version" , projectVersion)
1263
1256
val cmd = Seq (
@@ -1267,7 +1260,7 @@ object Build {
1267
1260
name,
1268
1261
scalaSrcLink(stdLibVersion, srcManaged(dottyNonBootstrappedVersion, " scala" )),
1269
1262
dottySrcLink(referenceVersion, srcManaged(dottyNonBootstrappedVersion, " dotty" ))
1270
- ) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets ++ bootclasspath
1263
+ ) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets
1271
1264
import _root_ .scala .sys .process ._
1272
1265
Def .task((s " $distLocation/bin/scaladoc " +: cmd).! )
1273
1266
}
@@ -1316,8 +1309,7 @@ object Build {
1316
1309
generateSelfDocumentation := Def .taskDyn {
1317
1310
generateDocumentation(
1318
1311
(Compile / classDirectory).value.getAbsolutePath :: Nil ,
1319
- " scaladoc" , " scaladoc/output/self" , VersionUtil .gitHash,
1320
- addBootclasspath = true
1312
+ " scaladoc" , " scaladoc/output/self" , VersionUtil .gitHash
1321
1313
)
1322
1314
}.value,
1323
1315
generateScalaDocumentation := Def .inputTaskDyn {
@@ -1366,8 +1358,7 @@ object Build {
1366
1358
(Test / Build .testcasesOutputDir).value,
1367
1359
" scaladoc testcases" ,
1368
1360
" scaladoc/output/testcases" ,
1369
- " master" ,
1370
- addBootclasspath = true )
1361
+ " master" )
1371
1362
}.value,
1372
1363
1373
1364
Test / buildInfoKeys := Seq [BuildInfoKey ](
0 commit comments