@@ -1239,7 +1239,7 @@ object Build {
12391239 libraryDependencies += (" org.scala-js" %%% " scalajs-dom" % " 1.1.0" ).cross(CrossVersion .for3Use2_13)
12401240 )
12411241
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 ) =
12431243 Def .taskDyn {
12441244 val distLocation = (dist / pack).value
12451245 val projectVersion = version.value
@@ -1251,13 +1251,6 @@ object Build {
12511251 def srcManaged (v : String , s : String ) = s " out/bootstrap/stdlib-bootstrapped/scala- $v/src_managed/main/ $s-library-src "
12521252 def scalaSrcLink (v : String , s : String ) = s " -source-links: $s=github://scala/scala/v $v#src/library "
12531253 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
12611254
12621255 val revision = Seq (" -revision" , ref, " -project-version" , projectVersion)
12631256 val cmd = Seq (
@@ -1267,7 +1260,7 @@ object Build {
12671260 name,
12681261 scalaSrcLink(stdLibVersion, srcManaged(dottyNonBootstrappedVersion, " scala" )),
12691262 dottySrcLink(referenceVersion, srcManaged(dottyNonBootstrappedVersion, " dotty" ))
1270- ) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets ++ bootclasspath
1263+ ) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets
12711264 import _root_ .scala .sys .process ._
12721265 Def .task((s " $distLocation/bin/scaladoc " +: cmd).! )
12731266 }
@@ -1316,8 +1309,7 @@ object Build {
13161309 generateSelfDocumentation := Def .taskDyn {
13171310 generateDocumentation(
13181311 (Compile / classDirectory).value.getAbsolutePath :: Nil ,
1319- " scaladoc" , " scaladoc/output/self" , VersionUtil .gitHash,
1320- addBootclasspath = true
1312+ " scaladoc" , " scaladoc/output/self" , VersionUtil .gitHash
13211313 )
13221314 }.value,
13231315 generateScalaDocumentation := Def .inputTaskDyn {
@@ -1366,8 +1358,7 @@ object Build {
13661358 (Test / Build .testcasesOutputDir).value,
13671359 " scaladoc testcases" ,
13681360 " scaladoc/output/testcases" ,
1369- " master" ,
1370- addBootclasspath = true )
1361+ " master" )
13711362 }.value,
13721363
13731364 Test / buildInfoKeys := Seq [BuildInfoKey ](
0 commit comments