Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
evanloriot opened this issue Mar 22, 2024 · 0 comments
Open

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

evanloriot opened this issue Mar 22, 2024 · 0 comments

Comments

@evanloriot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant