Skip to content

An sbt plugin to help visualise inter-project dependencies

License

Notifications You must be signed in to change notification settings

dwijnand/sbt-project-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-project-graph

sbt-project-graph is an sbt plugin to help visualise inter-project dependencies.

Inspired by sbt-dependency-graph.

Setup

sbt-project-graph is an informational plugin and isn't ever a requirement of any build.

Therefore it is recommended to install it as a global plugin so that it's always available.

To do so, add it to ~/.sbt/0.13/plugins/plugins.sbt or ~/.sbt/1.0/plugins/plugins.sbt (or both; create the files if necessary) as such:

addSbtPlugin("com.dwijnand" % "sbt-project-graph" % "0.4.0")

As sbt-project-graph is an auto plugin that is all that is required.

Tasks

  • projectsGraphDot: Creates target/projects-graph.dot with the project graph. See DOT.
  • projectsGraphSvg: Creates target/projects-graph.svg with the project graph. Requires graphviz.
  • projectsGraphPng: Creates target/projects-graph.png with the project graph. Requires graphviz.

Licence

Copyright 2015 Dale Wijnand

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

An sbt plugin to help visualise inter-project dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages