-
Notifications
You must be signed in to change notification settings - Fork 302
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
Cannot resolve sbt interface from "org.scala-sbt" #284
Comments
I guess that originates from the latter being available on Central, where as the former is only available from the Typesafe ivy-releases repo. Do you have more context? Does the problem only happen with sbt-coursier? |
The problem only occurs with sbt-coursier. This is the build file: https://github.com/lampepfl/dotty/blob/master/project/Build.scala. Since we're using:
I figured this would allow coursier to resolve it from the ivy releases. |
It seems that you're running into this point of the FAQ. With the default SBT resolution, one can add the necessary resolvers to one single project as you did, and let it fill the cache for the subsequent projects. On the other hand, coursier doesn't mix the caches of the various repositories. The resolvers have to be added to all the projects that need artifacts from them. So here, the |
Great, thanks :) |
In our build file coursier cannot resolve the sbt interface from
org.scala-sbt
, but it can fromcom.typesafe.sbt
.For us it should make little difference using one or the other, but thought I'd report it anyway.
Let me know what logs etc I should dig up.
The text was updated successfully, but these errors were encountered: