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

Remove dependency on sbt-dependency-graph #4346

Open
mkurz opened this issue Jan 28, 2024 · 1 comment
Open

Remove dependency on sbt-dependency-graph #4346

mkurz opened this issue Jan 28, 2024 · 1 comment

Comments

@mkurz
Copy link
Contributor

mkurz commented Jan 28, 2024

Turns out, this line

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1") // for advanced PR validation features

is not needed anymore since sbt 1.4, because it's build in now.
See https://www.scala-sbt.org/1.x/docs/sbt-1.4-Release-Notes.html#sbt-dependency-graph+is+in-sourced

Actually for advanced usage you can replace it with

addDependencyTreePlugin

However it's not that easy, because you make use of apis here:

import net.virtualvoid.sbt.graph.ModuleGraph
import net.virtualvoid.sbt.graph.backend.SbtUpdateReport

which in sbt are now internal...
(Maybe it's easy to fix, but didn't try, leave that up to you)

@mkurz
Copy link
Contributor Author

mkurz commented Jan 28, 2024

@mkurz mkurz changed the title Remove dependency on sbt-dependency-graph to avoid repo.scala-sbt.org Remove dependency on sbt-dependency-graph Jan 28, 2024
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

No branches or pull requests

1 participant