我有一段时间通过游戏2.4.2
来解决这种依赖性我想知道是否有人可以帮我解决这个build.sbt文件。
name := """ltweb"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
)
libraryDependencies ++= Seq(
javaJdbc,
cache,
javaWs,
"ws.securesocial" %% "securesocial" % "2.1.4"
)
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.18"
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
答案 0 :(得分:2)
最新里程碑 - 撰写本文时的3.0-M4 - 与Play 2.4兼容。