Skip to content
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

Merged
merged 2 commits into from
Jan 6, 2023
Merged

Add configs-ignore input #75

merged 2 commits into from
Jan 6, 2023

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Jan 6, 2023

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.

@adpi2 adpi2 force-pushed the fix-49 branch 2 times, most recently from 2a60bd5 to c154e2c Compare January 6, 2023 09:32

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`.
Copy link

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?

Copy link
Member Author

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.

Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adpi2 adpi2 merged commit 68d84c6 into main Jan 6, 2023
@adpi2
Copy link
Member Author

adpi2 commented Jan 6, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency found that is not listed in sbt
2 participants