播放升级到 2.4 但无法获取 sbt-plugin
Play upgrade to 2.4 but failed to fetch sbt-plugin
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#sbt-plugin;2.4.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.play:sbt-plugin:2.4.0 (scalaVersion=2.10, sbtVersion=0.13)
这是我的 plugins.sbt:
resolvers ++= Seq(
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
"Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0")
Play Framework 2.4
尚不可用,但您可以使用候选版本。对于最新版本,请查看 Play Framework
github home page.
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0-RC5")
编辑:Play Framework 2.4
现已可用。
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#sbt-plugin;2.4.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.play:sbt-plugin:2.4.0 (scalaVersion=2.10, sbtVersion=0.13)
这是我的 plugins.sbt:
resolvers ++= Seq(
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
"Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0")
Play Framework 2.4
尚不可用,但您可以使用候选版本。对于最新版本,请查看 Play Framework
github home page.
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0-RC5")
编辑:Play Framework 2.4
现已可用。