wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
4 stars 0 forks source link

Add addDependencyTreePlugin plugin #738

Closed kenoir closed 7 months ago

kenoir commented 7 months ago

What does this change?

This change adds a plugin to generate and search dependency graphs with sbt. This is useful when we see errors caused by transitive dependencies, so we can work out which libraries we directly specify pull these in.

See https://github.com/sbt/sbt-dependency-graph for the history of this plugin built into sbt after version 1.4.

https://www.scala-sbt.org/1.x/docs/sbt-1.4-Release-Notes.html#sbt-dependency-graph+is+in-sourced

This depends on (and the need for it was identified in) https://github.com/wellcomecollection/catalogue-api/pull/737

How to test?

How can we measure success?

It's easier for people working on this project to solve issues with dependencies.

Have we considered the potential risks?

This change enables a plugin that is part of sbt post version 1.4 and should not impact the build, so risks are minimal.