-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configs-ignore input #75
Conversation
2a60bd5
to
c154e2c
Compare
sbt-plugin/src/main/scala/ch/epfl/scala/GithubDependencyGraphPlugin.scala
Show resolved
Hide resolved
sbt-plugin/src/main/scala/ch/epfl/scala/GithubDependencyGraphPlugin.scala
Outdated
Show resolved
Hide resolved
|
||
A list of space-separated names of configurations to ignore. The action will not submit the dependencies of these configurations. | ||
|
||
Example of configurations are `compile`, `test`, `scala-tool`, `scala-doc-tool`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to get the exhaustive list of supported configurations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I often use the buildStructure
key to get the list of projects and configurations but unfortunately it does not print itself to the shell.
sbt:example>show buildStructure
[info] sbt.internal.BuildStructure@2a3e1e53
[success] Total time: 0 s, completed Jan 6, 2023 10:49:10 AM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently there is no easy way currently: https://stackoverflow.com/questions/25045436/how-to-list-all-configurations-with-their-description
Fix #49
Add
configs-ignore
input to exclude some sbt configurations from the graphs of dependencies.This is useful to ignore the Scaladoc dependencies brought by the
scala-doc-tool
configuration.