scalasbtivytypesafe-stackscalariform

Unresolved dependency SBT, scalariform


I am receiving this compilation error:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbt#sbt-scalariform;1.3.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.typesafe.sbt:sbt-scalariform:1.3.0 (scalaVersion=2.11, sbtVersion=0.13)
[warn] 

In the root of my project I have a build.sbt file:

   scalaVersion in ThisBuild := "2.11.6"

I also have a core/build.sbt file with several resolvers, libraryDependencies, and exclusions.

project/plugins.sbt:

   addSbtPlugin(...)
   resolvers += "Typesafe Public Repo" at "http://repo.typesafe.com/typesafe/releases"
   resolvers += "JBoss Repository" at "http://repository.jboss.org/nexus/content/groups/public//"

~/.sbt/0.13/global.sbt

   scalaVersion := "2.11.6"

Solution

  • You need to remove scalaVersion := "2.11.6" from ~/.sbt/0.13/global.sbt.

    In sbt 0.13, sbt and its ecosystem of plugins is current using Scala 2.10.