Closed gaeljw closed 5 months ago
@molekyla could you (or someone else) give a look at this PR? The feature would be quite useful to me.
@gaeljw Sorry for delay. I haven't enough time to test this changes. At the first glance it looks good, but I want to test it on my small project. Will give take a look in a next few day
Thanks @molekyla . Do you know when this can be part of a release?
@gaeljw Already been released under the 1.0.8 version. Despite that label in the README.md file shows that latest version is 1.0.7
Also this changes will be integrated in examples in near future
Awesome! Will use it right now then :D
Solves #9
This adds:
bomDependencies: Seq[ModuleID]
method toBom
instancesBom.dependencies(...)
helper method in the companion object for cases where you only care aboutbomDependencies
but don't need to extract anything else manually from theBom
I've also updated the README with documentation on this new usage and small changes (each in a different commit).
Tests
I've tested this locally using the example described in #9 and it works successfully.
Example
build.sbt
file:Which gives the expected result in terms of versions. Here's a
sbt dependencyTree
extract: