Add bzlmod support (MODULE.bazel)#1329
Closed
Konboi wants to merge 2 commits into
Closed
Conversation
Migrate from WORKSPACE to bzlmod (Bazel module system): - Add MODULE.bazel with rules_jvm_external 6.7 via Bazel Central Registry - Add WORKSPACE.bzlmod (empty) to suppress WORKSPACE processing - Remove legacy WORKSPACE file - Enable bzlmod via `common --enable_bzlmod` in .bazelrc - Regenerate src/maven_install.json in bzlmod v2 lock file format - Fix java8-compat.sh external path for bzlmod runfiles layout - Update CI workflows: trigger on MODULE.bazel, bump checkout to v6.0.3 To update dependencies: REPIN=1 bazel run @unpinned_maven//:pin Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d461d5f to
130ef08
Compare
- Restore files that were accidentally modified (CBP URL, subset-id-file) - Replace expired LAUNCHABLEINC_CI_GITHUB_TOKEN with GITHUB_TOKEN using verified-bot-commit action Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MODULE.bazelto support Bzlmod (Bazel's new dependency management system), replacing the legacyWORKSPACE-based setupWORKSPACE.bzlmod(empty) to suppress WORKSPACE processing when bzlmod is activeBUILDat repo root (required for//:maven_install.jsonpackage reference)maven_install.jsonat root with bzlmod-compatible v2 formatcommon --enable_bzlmodin.bazelrcrules_jvm_external6.7 (6.6's BCR entry uses an oldbazelbuildURL that returns 504; 6.7 correctly usesbazel-contrib)The
WORKSPACEfile is retained as-is for backward compatibility.Test plan
REPIN=1 bazel run @unpinned_maven//:pin— completed successfully,maven_install.jsonregeneratedbazel build //src/main/java/com/launchableinc/ingest/commits/...— passesbazel test //src/test/java/com/launchableinc/ingest/commits:AllTests— 1 test passes🤖 Generated with Claude Code