Skip to content

Use buildifier_prebuilt instead of manually fetching Buildifier - #1788

Open
jadenPete wants to merge 1 commit into
bazel-contrib:masterfrom
lucidsoftware:jpeterson-use-rules-jvm-external-part-0
Open

Use buildifier_prebuilt instead of manually fetching Buildifier#1788
jadenPete wants to merge 1 commit into
bazel-contrib:masterfrom
lucidsoftware:jpeterson-use-rules-jvm-external-part-0

Conversation

@jadenPete

Copy link
Copy Markdown
Contributor

Description

This PR is the first in a series to refactor the ruleset to use rules_jvm_external for fetching all Maven artifacts.

It refactors the ruleset to use the buildifier_prebuilt ruleset for downloading Buildifier, as opposed to downloading it manually via http_archive in dev_deps_repositories. That'll allow us to delete dev_deps_repositories in the next PR. It should also speed up internal development, as Buildifier won't have to be built from scratch and the repositories necessary to build it won't have to be downloaded.

Motivation

Please see this PR for more information on this initiative and the motivations behind it:
#1775

@jadenPete
jadenPete force-pushed the jpeterson-use-rules-jvm-external-part-0 branch 2 times, most recently from 91368d5 to 350db17 Compare November 3, 2025 18:27

@mbland mbland left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sorry for the delay; pulled and tried locally as well, and all looks good. Please resolve the conflicts, then ping me and I'll merge.

It's my goal to remove `dev_deps`, and switching to
`buildifier-prebuilt` gets us one step closer to doing that. It should
also make CI faster.
@jadenPete
jadenPete force-pushed the jpeterson-use-rules-jvm-external-part-0 branch from 350db17 to fd15e25 Compare January 2, 2026 15:05
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

Successfully merging this pull request may close these issues.

2 participants