coursier-shared depends on org.scala-sbt %% sbt
See original GitHub issueAs I was integrating coursier with sbt-librarymanagement, I noticed that coursier-shared
depends on
org.scala-sbt %% sbt
, so the entirety of sbt.
This creates circular dependency as the dependency chain is:
sbt -> librarymanagement -> librarymanagement-coursier -> coursier-shared -> sbt ...
This creates (I think) a weird compilation issue: https://github.com/sbt/librarymanagement/pull/190#issuecomment-358897786
I believe a dependency on librarymanagement
would be enough, however I’m unsure where exactly it is defined. Does it come from the recently added sbt-compat
?
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
sbt-coursier/build.sbt at main - GitHub
sbt -coursier/build.sbt ; org.scala-lang.modules · %% ; scala-xml · % ; 2.1.0 · // depending on that one so that it doesn't get...
Read more >sbt-coursier - Scaladex
sbt -coursier-shared-shaded_2.12_1.0. Version: 2.0.8. Release Date: Mar 21, 2021. Licenses: Apache-2.0. Files: View all. sbt. addSbtPlugin("io.get-coursier" ...
Read more >Unresolved dependency: org.scala-sbt#sbt;0.13: not found ...
Try using 0.13.1 . Put the following in project/build.properties : sbt.version=0.13.1. You will probably need the 0.13 sbt launcher as well.
Read more >sbt Reference Manual — Configuring Scala
Configuring Scala tool dependencies. In order to compile Scala code, run scaladoc, and provide a Scala REPL, sbt needs the scala-compiler jar.
Read more >How to See The Dependency Tree in SBT? | Baeldung on Scala
The solution now depends on our SBT version: For SBT 1.3.x, we need to include the sbt-dependency-graph plugin by adding the following to ......
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 FreeTop 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
Top GitHub Comments
The 1.1.0-M1 release can now be compiled with sbt/librarymanagement.
Thanks @alexarchambault!
I’ve successfully built sbt/librarymangement with 1.0.2 and I’m nearly there.
I missed a single sbt._ import it seems, which leads to a runtime error:
I will open a PR in the next few days.