Closed joychugh closed 5 years ago
The feature has not been released yet ;)
A solution is to tag the repo (e.g. v0.9.2-local
) and sbt publishLocal
. That will publish a local build of the plugin with the version that matches the tag (as sbt-dependency-graph uses sbt-dynver sbt plugin).
> about
[info] This is sbt 1.2.8
[info] The current project is ProjectRef(uri("file:/Users/jacek/..."), "...") 0.1
[info] The current project is built against Scala 2.11.12
[info] Available Plugins
[info] - com.timushev.sbt.updates.UpdatesPlugin
[info] - coursier.sbtcoursier.CoursierPlugin
[info] - coursier.sbtcoursiershared.SbtCoursierShared
[info] - net.virtualvoid.sbt.graph.DependencyGraphPlugin
[info] - sbt.ScriptedPlugin
[info] - sbt.plugins.CorePlugin
[info] - sbt.plugins.Giter8TemplatePlugin
[info] - sbt.plugins.IvyPlugin
[info] - sbt.plugins.JUnitXmlReportPlugin
[info] - sbt.plugins.JvmPlugin
[info] - sbt.plugins.SbtPlugin
[info] - sbtassembly.AssemblyPlugin
[info] - sbtprojectgraph.SbtProjectGraphPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.12.7
> compile:dependencyTree::toFile target/compile-depstats.txt -f
[info] Wrote dependencyTree to 'target/compile-depstats.txt'
A much better solution would be to have an official release.
:( Why the non-released feature show in readme. Waste time for debug
Yeah, sorry, that's really painful. I had a bit more time/energy in last summer and started preparing the new release before other things took over again. I try to get a release out soon.
Any idea when a version including this will be released? I sadly just realized I ran into this ticket when I got to the point I was debugging decompiled sbt code (I didn't think I'd be getting that far when I started, otherwise I'd have set up a proper debugging env) and realized the code that was running didn't match what I was expecting to see based on this master
repo =/
Looking for this feature as well, seems the code in master has the feature ready and just needs a release. Let us know if you need any help pushing a new release out
Released with 0.10.0-RC1.
sbt version 1.1.0 dependency graph version 0.9.2 scala version 2.11.11 os: Mac OS 10.13.6 Plugin installed in
~/.sbt/1.0/plugins/plugins.sbt
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")