Skip to content

Bazel integration does not work with Bzlmod-only workspace. #284

Open

Description

@evanloriot

I haven't looked through the source code exactly to tell how bazel dependencies are loaded, but when working from a bazel monorepo that DOES NOT contain a WORKSPACE file (https://bazel.build/external/migration), the extension does not load any jars.

Adding an empty WORKSPACE helped the extension learn that the workspace was a bazel directory and thus started loading the jars. I'm guessing maybe that you'd need to look for EITHER a MODULE / MODULE.bzlmod / etc file or WORKSPACE file to indicate bazel dependency.

Let me know if I can provide more examples / explanation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions