vaticle / bazel-distribution

Bazel rules for assembling and deploying software distributions (see @vaticle for usage example)
https://bazel.build
Apache License 2.0
155 stars 53 forks source link

Allow java deps to filter out remote or local JDK jars #377

Closed flyingsilverfin closed 1 year ago

flyingsilverfin commented 1 year ago

What is the goal of this PR?

In the collection of transitive maven dependencies for Java, we ignore all JARs available in the JDK that is chosen. This is extended to allow ignoring of JARs coming from the remote JDK or the local JDK. Use of the remote JDK in Bazel ensures hermiticity in some systems, which is a desirable option to have.

What are the changes implemented in this PR?

vaticle-bot commented 1 year ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture