Run custom error-prone checks without directly depending on library that exports them #6113
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Java
Issues for Java rules
type: feature request
Description of the problem / feature request:
After writing a custom check for
error-prone
, I'd like to have it ran on all Java targets without explicily depending on it.Feature requests: what underlying problem are you trying to solve with this feature?
Ensuring code is correct without checking that plugin was included in dependencies
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Here are the sources for custom check
What operating system are you running Bazel on?
macOS 10.13.6
What's the output of
bazel info release
?release 0.14.1
Have you found anything relevant by searching the web?
I know I could make a
java_library
withexported_plugins
but I'll have to ensure all of my targets are depending on it in order for check to be performed.The text was updated successfully, but these errors were encountered: