简体   繁体   中英

How should routesImport be defined in build.sbt in Play 2.3?

I'm upgrading a project from Play 2.2 to 2.3.0.

The following routesImport line in build.sbt stopped resolving and Play says val not found error :

lazy val root = (project in file(".")).enablePlugins(PlayScala)

routesImport += "binders._"

I can't find any documentation for 2.3.x that would explain how to migrate this. Please advise.

routesImports正在import play.PlayImport.PlayKeys._

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM