I am trying to learn how to use SBT, and the following simple example I found does not find the version for scalatest:
name := "DoingItWrong" version := "0.0.1" scalaVersion := "2.10.1" libraryDependencies ++= Seq ( "org.scalatest" %% "scalatest" % "1.9.1" % "test" )
I used maven before trying sbt and the following dependency works fine:
<dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.10</artifactId> <version>1.9.1</version> </dependency>
I got the following result trying to start SBT:
$ sbt package [info] Loading global plugins from /home/rafael/.sbt/plugins [info] Set current project to DoingItWrong (in build file:/home/rafael/Dev/DoingItWrong/) [info] Updating {file:/home/rafael/Dev/DoingItWrong/}default-c52ace... [info] Resolving org.scala-lang
I donβt have any kind of repository or something like that?
I also tried scalaVersion := "2.10.0" and 2.10.0-M4 . What is the latest available version for scalatest for Scala 2.10 via SBT?
source share