-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions for plain gradle incorrect #466
Comments
Which instructions are you referring to? It looks like in |
also, if what you're suggesting was the issue, NullAway shouldn't have even loaded ;), instead of not being a valid checker. |
btw, commented on the commit, but I am questioning my approach, maybe it would be better for the Nullaway documentation to just link to the gradle plugin documentation, since it covers everything and would be up to date with it. |
I think we should do a combination of linking to upstream documentation on the gradle plugin and having a self-contained working example that we explain, with the disclaimer that the plugin version may be out of date. I can update #467 when I get a bit of time |
Just as a note, whatever instructions we end up giving, we should make sure that our sample projects use as similar a setup as we can, while still pulling the nullaway master (e.g. here), so that the instructions are CI tested. We should also be using the same version number for the plug-in in the README and in the dependencies for those sample projects and our own code. I also think, because of those CI tests, that our instructions should work with the gradle plug in version indicated in the |
I'd recommend switching the documentation to using Thomas' gradle-nullaway-plugin. You can see my real-world example which is similar to the above snippet. |
@ben-manes I have to be honest I don't understand the reason for that plugin, doesn't seem hard to enable nullaway without it. |
Fixes #842. Updating the minimum supported Error Prone version to 2.10.0 allows for some code cleanup in tests. We also update our `README.md` (finally!) to mention the new minimum version, to use the Gradle Error Prone plugin correctly, to mention the Gradle NullAway plugin, and to not mention so many specific versions so it doesn't get out of date so quickly in the future. This fixes #466.
plain gradle instructions are incorrect, they lead to this
given
I get this error
The text was updated successfully, but these errors were encountered: