Improve readme instructions.

This commit is contained in:
Johannes Rudolph 2012-07-13 11:32:23 +03:00
parent 47ba5ef22f
commit 5ffd60c6c8
1 changed files with 9 additions and 13 deletions

View File

@ -19,24 +19,20 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.6.0")
*Note*: The organization has recently been changed to `net.virtual-void`.
or, alternatively, in `project/plugins/project/build.scala`:
```scala
import sbt._
object Plugins extends Build {
lazy val root = Project("root", file(".")) dependsOn(
uri("git://github.com/jrudolph/sbt-dependency-graph.git#v0.6.0") // or another tag/branch/revision
)
}
```
Then, add the following in your `build.sbt`:
Then, add the following to your `build.sbt` as a standalone line:
```scala
net.virtualvoid.sbt.graph.Plugin.graphSettings
```
or if you use the full configuration, add
```scala
.settings(net.virtualvoid.sbt.graph.Plugin.graphSettings: _*)
```
to your project definition.
Tasks & Settings
----------------