File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -448,10 +448,15 @@ object Build {
448448 ) ++ extMap
449449 }
450450
451+ val enableBspAllProjects = sys.env.get(" ENABLE_BSP_ALL_PROJECTS" ).map(_.toBoolean).getOrElse{
452+ val enableBspAllProjectsFile = file(" .enable_bsp_all_projects" )
453+ enableBspAllProjectsFile.exists()
454+ }
455+
451456 // Settings used when compiling dotty with a non-bootstrapped dotty
452457 lazy val commonBootstrappedSettings = commonDottySettings ++ Seq (
453458 // To enable support of scaladoc and language-server projects you need to change this to true
454- bspEnabled := false ,
459+ bspEnabled := enableBspAllProjects ,
455460 (Compile / unmanagedSourceDirectories) += baseDirectory.value / " src-bootstrapped" ,
456461
457462 version := dottyVersion,
@@ -2120,7 +2125,7 @@ object Build {
21202125 mtagsSharedSources
21212126 } (Set (mtagsSharedSourceJar)).toSeq
21222127 }.taskValue,
2123- bspEnabled := false ,
2128+ bspEnabled := enableBspAllProjects ,
21242129 )
21252130 }
21262131
You can’t perform that action at this time.
0 commit comments