Skip to content

Commit 9e02422

Browse files
committed
Repair the import for bloop-based IDEs.
This was subtly broken in 478c7a4 because the projects' settings want to `+=` to `buildInfoOptions`. When we don't include the settings of `BuildInfoPlugin`, there is no initial value for that setting, and therefore the build fails.
1 parent 33ed758 commit 9e02422

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

project/Build.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@ object Build {
287287
private def buildInfoOrStubs(config: Configuration, stubsBaseDir: Def.Initialize[File]) = {
288288
if (isGeneratingForIDE) {
289289
Def.settings(
290-
unmanagedSourceDirectories in config +=
291-
stubsBaseDir.value / "scala-ide-stubs"
290+
unmanagedSourceDirectories in config +=
291+
stubsBaseDir.value / "scala-ide-stubs",
292+
config / buildInfoOptions := Nil,
292293
)
293294
} else {
294295
Def.settings(

0 commit comments

Comments
 (0)