Joost den Boer
Joost den Boer

Reputation: 5017

Why does sbt report "Error: Could not retrieve sbt 0.13.11"?

In a Scala project I updated the build.properties from 0.13.8 to 0.13.11. That "broke" sbt as it does not start anymore, i.e. it cannot download the 0.13.11 jars?! sbt prints a list of tried repo's, but the repo.typesafe.com was not one of them.

My local installed sbt is 0.13.8.

For some reason the scala-sbt jars are not available anymore in Typesafe's Bintray. Largest version there is 0.13.9.

I know the place to get it is https://repo.typesafe.com/typesafe/ivy-releases/, but how do I tell sbt to use this repo?

I have already tried:

but I cannot get it working.

How to tell sbt where to get binaries?

Upvotes: 5

Views: 19051

Answers (2)

Jacek Laskowski
Jacek Laskowski

Reputation: 74599

  1. Make sure that you're using sbt (launcher) that's at the same version of higher than the version used in your project.

    Execute sbt about in an empty directory and find [info] This is sbt X.Y.X.

  2. Make sure that you don't use ~/.sbt/repositories file that sets up the repositories used to resolve artifacts.

Upvotes: 11

Det
Det

Reputation: 435

try to set your https proxy Information into http.proxyHost and http.proxyPort. This solved it for me.

Upvotes: 0

Related Questions