NullAway icon indicating copy to clipboard operation
NullAway copied to clipboard

Add support for nullaway-bom

Open hazendaz opened this issue 11 months ago • 3 comments

No bug or issue, but given nullaway is a number of different modules, it would be very useful to have a nullaway-bom produced. I'm sure many are in the same boat and its a chore to load the dependencies one by one as we are separated from maven central. Many projects have started going this direction which then makes it incredibly easy to pull one artifact and get all of them at once. The bom would just be a pom file that contains all the artifacts of the project.

I'm not a gradle user, but there is a gradle example of such a thing here https://github.com/mockito/mockito/tree/main/mockito-bom.

hazendaz avatar Jan 15 '25 17:01 hazendaz

I know nothing about how to produce a bom but I would welcome a PR here

msridhar avatar Jan 31 '25 16:01 msridhar

NullAway is built using Gradle, so the official Gradle Java Platform plugin would be the place to start.

liblit avatar Nov 09 '25 18:11 liblit

The JUnit Framework also creates a BOM via Gradle.

scordio avatar Nov 09 '25 21:11 scordio