播放升级到2.4但无法获取sbt-plugin

时间:2015-05-19 21:58:12

标签: playframework-2.3 playframework-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")

1 个答案:

答案 0 :(得分:1)

Play Framework 2.4尚不可用,但您可以使用候选版本。有关最新版本,请查看Play Framework github home page

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0-RC5")

修改:Play Framework 2.4现已可用。