The Bazel java_binary
rule has an implicit output target of name_deploy.jar
, which includes all dependencies into the jar
. However, I'd like to include some but not all of the dependencies inside the jar.
Is there a way to specify some dependencies but not others to be embedded?
I've looked through the other options but none of them look like they were designed for this. I also asked this question to see if there's a way to observe what the implicit rule is doing.