mirror of https://github.com/grpc/grpc-java.git
Previous versions of error prone were incompatible with Java 17 javac. In grpc-api, errorprone is now api dependency because it is on a public API. I was happy to see that Gradle failed the build without the dep change, although the error message wasn't super clear as to the cause. It seems that previously -PerrorProne=false did nothing. I'm guessing this is due to a behavior change of Gradle at some point. Swapping to using the project does build without errorProne, although the build fails with Javac complaining certain classes are unavailable. It's unclear why. It doesn't seem to be caused by the error-prone plugin. I've left it failing as a pre-existing issue. ClientCalls/ServerCalls had Deprecated removed from some methods because they were only deprecated in the internal class, not the API. And with Deprecated, InlineMeSuggester complained. I'm finding InlineMeSuggester to be overzealous, complaining about package-private methods. In time we may figure out how to use it better, or we may request changes to the checker in error-prone. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||