[1.3.0-RC1] sbt-dependency-graph doesn't work
See original GitHub issueWith 1.3.0-RC1, sbt-dependency-graph plugin stops working, since this release claims that plugins are expected to work throughout the 1.x series, I’m not sure if I should file this issue here or in sbt-dependency-graph repo, let me know
$ sbt dependencyList
...
...
[error] java.lang.NoSuchMethodError: sbt.internal.LibraryManagement$.cachedUpdate(Lsbt/librarymanagement/DependencyResolution;Lsbt/librarymanagement/ModuleDescriptor;Lsbt/util/CacheStoreFactory;Ljava/lang/String;Lsbt/librarymanagement/UpdateConfiguration;Lscala/Function1;ZZZLsbt/librarymanagement/UnresolvedWarningConfiguration;Lsbt/librarymanagement/EvictionWarningOptions;ZLsbt/internal/librarymanagement/CompatibilityWarningOptions;Lsbt/util/Logger;)Lsbt/librarymanagement/UpdateReport;
[error] at sbt.dependencygraph.DependencyGraphSbtCompat$.$anonfun$updateTask$5(DependencyGraphSbtCompat.scala:61)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:270)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] at sbt.Execute.work(Execute.scala:279)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:270)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:835)
[error] (ivyReport / update) java.lang.NoSuchMethodError: sbt.internal.LibraryManagement$.cachedUpdate(Lsbt/librarymanagement/DependencyResolution;Lsbt/librarymanagement/ModuleDescriptor;Lsbt/util/CacheStoreFactory;Ljava/lang/String;Lsbt/librarymanagement/UpdateConfiguration;Lscala/Function1;ZZZLsbt/librarymanagement/UnresolvedWarningConfiguration;Lsbt/librarymanagement/EvictionWarningOptions;ZLsbt/internal/librarymanagement/CompatibilityWarningOptions;Lsbt/util/Logger;)Lsbt/librarymanagement/UpdateReport;
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
How to see dependency tree in sbt? - scala - Stack Overflow
If you want to actually view the library dependencies (as you would with Maven) rather than the task dependencies (which is what inspect...
Read more >∃ugene -Yokota on Twitter: "@not_xuwei_k sbt-dependency-graph ...
... a transitive dependency with sbt-dependency-graph, and found out that it doesn't work with sbt 1.3, but it seems to be a known...
Read more >lihaoyi/mill - Gitter
I'm trying to get the dependency tree for a small project. ... _ object millTest extends SbtModule { // mill and bloopInstall do...
Read more >net.virtual-void : sbt-dependency-graph : 0.10.0-RC1
Official search by the maintainers of Maven Central Repository.
Read more >sbt Reference Manual — Combined Pages
Once the import process is complete, open a Scala file to see that code ... Note that the classpath will still be appended,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
While I agree with the sorry-it’s-internal-API response, I think sbt-dependency-graph is a major plugin in the ecosystem (it’s my longest living global plugin - and, as such, I’d also lobby for it to be folded into sbt, but that’s for another issue).
But with coursier coming in sbt 1.3 is
coursierDependencyTree
available instead?Dependency tree is an essential part of any production level build tool. It’s sad that the developers of sbt do not support this feature, and obstructing others from fixing this as a plugin. It’s a shame to the community.