Skip to content

Dependency management

B. K. Oxley (binkley) edited this page Jul 24, 2024 · 8 revisions

TODO page needs content

This is a place-holder page as we migrate discussion for dependency management concerns here.


Avoid dependencies that rely on plugins

An example is the dependency on spotbugs-annotations. This is a dependency you may pull in to support suppressing warnings with @SuppressWarnings. However, this provides a transitive dependency to javax.annotations, and that in turn provides annotations such as @javax.annotation.Nonnull.

Best is to eschew transitive dependencies required for compilation, and have them separately in your Gradle and Maven builds, and be explicit.

Tips

TODO: Placeholder section

Going further

TODO: Placeholder section

Clone this wiki locally