0
我已安装sbt 0.13.8。为什么sbt试图获取自己的特定版本
但是,当在文件夹中键入sbt时,sbt正试图获取其自身的版本0.13.6。而且我在build.sbt文件中没有找到任何可以解释奇怪行为的东西。请告诉我为什么。
这里是build.sbt文件的内容。
enablePlugins(JavaServerAppPackaging)
name := "quiz-management-service"
version := "0.1"
organization := "com.danielasfregola"
scalaVersion := "2.11.7"
resolvers ++= Seq("Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Spray Repository" at "http://repo.spray.io")
libraryDependencies ++= {
val akkaVersion = "2.4.4"
val sprayVersion = "1.3.3"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"io.spray" %% "spray-can" % sprayVersion,
"io.spray" %% "spray-routing" % sprayVersion,
"io.spray" %% "spray-json" % "1.3.3",
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"ch.qos.logback" % "logback-classic" % "1.1.2",
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
"io.spray" %% "spray-testkit" % sprayVersion % "test",
"org.specs2" %% "specs2" % "2.3.13" % "test"
)
}
// Assembly settings
mainClass in Global := Some("com.danielasfregola.quiz.management.Main")
jarName in assembly := "quiz-management-server.jar"