Skip to content

No Scala SDK in module - Bazel 8 #7755

@michalbogacz

Description

@michalbogacz

Description of the bug:

Cannot fully import project https://github.com/michalbogacz/scala-bazel-monorepo
After import there is error "No Scala SDK in module". This happens only in Bazel 8.

Image

Even if I configure SDK manually, Bazel plugin sync will remove it.

Which category does this issue belong to?

Intellij

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Try to import example project with newest IntelliJ and Bazel plugin.

Which Intellij IDE are you using? Please provide the specific version.

IntelliJ IDEA 2025.1.3 (Ultimate Edition)

What programming languages and tools are you using? Please provide specific versions.

Scala 3.3.6

What Bazel plugin version are you using?

2025.05.27.0.1-api-version-251

Have you found anything relevant by searching the web?

The closest one seems to be #7678 but mentioned workaround #7678 (comment) does not help in this case.

Any other information, logs, or outputs that you want to share?

This project imports without SDK issue when Bazel version is 7

Metadata

Metadata

Assignees

Type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions