You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,21 @@ dependencyTree foo bar -baz // include only deps that contain "foo" or "bar" an
77
77
78
78
In all cases, the full paths to dependencies that match the query are displayed (which can mean that dependencies are displayed even though they would have been excluded in their own right, because they form part of a chain to a dependency that was not excluded).
79
79
80
+
#### Writing output to file
81
+
82
+
`dependencyTree` can have its output written to a file:
83
+
84
+
```
85
+
$ sbt
86
+
> dependencyTree -o foo
87
+
```
88
+
89
+
or, directly from the shell:
90
+
91
+
```bash
92
+
sbt 'dependency-tree -o foo'
93
+
```
94
+
80
95
## Configuration settings
81
96
82
97
*`filterScalaLibrary`: Defines if the scala library should be excluded from the output of the dependency-* functions.
0 commit comments