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 #34

Open
mkurz opened this issue Jan 28, 2024 · 2 comments
Open

Remove dependency on sbt-dependency-graph #34

mkurz opened this issue Jan 28, 2024 · 2 comments

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")

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:
https://github.com/search?q=repo%3Alightbend%2Fsbt-paradox-dependencies%20ModuleGraph&type=code

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
@ennru
Copy link
Member

ennru commented Jan 30, 2024

I guess we will discontinue this plugin.

@ennru ennru mentioned this issue Sep 4, 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

2 participants