Open leobenkel opened 5 years ago
Here are the steps:
ignoreMissingUpdate
is very similar to the regular update
step, it runs the ivy resolution and returns an UpdateReport
configuration(...)
returns the result of the resolution for one ivy configuration (like compile
, provided
, runtime
, or test
) if it existsSbtUpdateReport.fromConfigurationReport
does the real work of converting the sbt ConfigurationReport
into a ModuleGraph
which is the sbt-dependency-graph data structure to represent the dependenciesSee
I'd recommend to use an IDEA like IntelliJ IDEA and use "jump to definition" (ctrl-click) to discover what code like this is doing.
Thats what I was doing but didn't really know how SBT was working. Thank you so much for the explanation !
Hello, Can anyone explain to me what
is doing ? Here: https://github.com/jrudolph/sbt-dependency-graph/blob/de4d508f4eaeae33f3a7343d8fc88c47efbeab1d/src/main/scala/net/virtualvoid/sbt/graph/DependencyGraphSettings.scala#L62-L63
I am trying to build my own sbt plugin to analyze dependencies and I am trying to reproduce the same graph of dependencies that you have. But I struggle with this step.