Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 534
bloo Avatar asked Jun 13 '14 22:06

bloo


1 Answers

routesImports is in import play.PlayImport.PlayKeys._

like image 147
ferk86 Avatar answered Nov 08 '22 12:11

ferk86