These are chat archives for sbt/sbt

12th
Sep 2016
Pierre Borckmans
@pierre-borckmans
Sep 12 2016 13:50
Hi guys. Is there a way to get the resolved version of a dependency from sbt code? (for instance if there's a dependency version declared as "1.+", can I get the version resolved by ivy programmatically?)
From a quick glance, it seems that the sbt-dependency-graph is achieving this through inspecting the ivy xml report. Is there no simpler way of doing this?
Perry
@pfn
Sep 12 2016 14:06
@pierre-borckmans, you can inspect UpdateReport and its members
Pierre Borckmans
@pierre-borckmans
Sep 12 2016 14:07
This message was deleted
@pfn something along those lines?
```
Perry
@pfn
Sep 12 2016 14:11
UpdateReport is the result of update
Pierre Borckmans
@pierre-borckmans
Sep 12 2016 14:11
oh ok thanks
Perry
@pfn
Sep 12 2016 14:11
I don't know all the filter methods
Pierre Borckmans
@pierre-borckmans
Sep 12 2016 14:12
thanks I'll have a look
Pierre Borckmans
@pierre-borckmans
Sep 12 2016 14:58
This message was deleted
Perry
@pfn
Sep 12 2016 15:06
@pierre-borckmans, it is not, only from a command
pedromss
@pedromss
Sep 12 2016 22:14
Hello there. Can anyone confirm if sbt-release can be used in a multi-project build? As in release all of my subprojects, but not the root project?
Dale Wijnand
@dwijnand
Sep 12 2016 22:15
yes, make the root project aggregate all the subprojects, then disabling publishing on it
pedromss
@pedromss
Sep 12 2016 22:16
will I be able to release the sub projects individually and independently? Release sub project A, but not sub project B?
Dale Wijnand
@dwijnand
Sep 12 2016 22:23
yes. sbt-release adds, but you can still run subprojectA/publish etc
pedromss
@pedromss
Sep 12 2016 22:27
thx, will try it. :)