У меня проблемы с компиляцией sbt..
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-sbt-plugin;2.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attri
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-sbt-plugin;2.0: not found
Я использую sbt версии 0.13.8 и Scala 2.11.4.
Это файл build.sbt
name := "test"
version := "1.0"
scalaVersion := "2.11.7"
libraryDependencies ++= {
val akkaV = "2.3.14"
val sprayV = "1.3.1"
Seq (
"joda-time" % "joda-time" % "2.9.1",
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-slf4j" % akkaV,
"com.typesafe.akka" %% "akka-remote" % akkaV,
"com.typesafe.akka" %% "akka-agent" % akkaV,
"com.typesafe.akka" %% "akka-sbt-plugn" % akkaV,
"com.typesafe.akka" %% "akka-testkit" % akkaV % "test"
)
}
resolvers ++= Seq(
"Spray repository" at "http://repo.spray.io",
"Typesafe repository" at "http://repo.akka.io/releases/",
"Akka Snapshot Repository" at "http://repo.akka.io/snapshots/",
"Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/",
"Scala-Tools Maven2 Snapshots Repository" at "http://scala-tools.org/repo-snapshots"
)
Revolver.settings: Seq[sbt.Setting[_]]
А это plugins.sbt
logLevel := Level.Warn
addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
addSbtPlugin("com.typesafe.akka" % "akka-sbt-plugin" % "2.0")
В настоящее время я использую intellij. Он отлично работал со спреем и joda-time, но начались проблемы, когда был добавлен akka.