Skip to content

Exclusions listed in the artifact definition should be excluded in deps #1554#1555

Open
escardin wants to merge 1 commit into
bazel-contrib:masterfrom
navsmb:lovelace/exclude_exclusions
Open

Exclusions listed in the artifact definition should be excluded in deps #1554#1555
escardin wants to merge 1 commit into
bazel-contrib:masterfrom
navsmb:lovelace/exclude_exclusions

Conversation

@escardin

@escardin escardin commented Mar 3, 2026

Copy link
Copy Markdown

This should address excluding deps as one might actually expect to happen when listing an exclusion.

I am somewhat worried that it'll break folks, but realistically you would need to allow transitives of your exclusions only as a compile time dependency? I lack imagination for how this could break someone.

Note that this doesn't remove whatever was done previously to exclude dependencies at runtime, but that code should no longer be necessary.

It's not tested against maven or gradle resolvers. I tested it with my own internal repo where I was encountering this bug where I use the coursier resolver.

@escardin
escardin requested review from cheister, jin and shs96c as code owners March 3, 2026 17:42
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.

1 participant