google / google/error-prone

Idea: path for Error Prone plugins separate from processor path

Open
#928 11 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

Recently, we've run into a couple of NullAway issues due to difficulties caused by passing NullAway on the annotation processor path:

https://github.com/uber/NullAway/issues/75 (Kotlin gradle plugins + kapt take over the processor path)
https://github.com/uber/NullAway/issues/118 (Issue with maven-compiler-plugin and processor path)

Internally we've also had Lombok compatibility issues due to this. It seems it might be useful to be able to pass in a "plugin path" of jars separate from the annotation processor path, such that Error Prone would look for plugins in this path if it is present. This way, these compatibility issues with the processor path could be avoided.

Thoughts? I'm willing to do some of the legwork on this if folks think it's a good idea.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.