Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
com.google.code.findbugs:jsr305 and the @Nullable annotation #912
Apparently since the transition to build with gradle, com.google.code.findbugs:jsr305 has been on the compile classpath for consumers of testcontainers-java.
From what I can tell, we only need it here for the
My goal is to get jsr305 off the classpath for consumers to reduce the chance for conflicts (with e.g. com.google.code.findbugs:annotations). One way appears to be switching it to a compileOnly dependency (#913). Another way would be to ditch the
Got some inspiration from google/guava#1018 (comment).
And more background here: https://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use