Hi everyone,
Note that there are some minor incompatibilities with twirl 1.1.x, mainly in import scoping, so we're not going to upgrade in the 2.5.x branch of Play. To upgrade manually, you can add the sbt plugin to your project/plugins.sbt:
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.2.0")
If you're injecting your template classes, you should add the @Inject annotation to the constructor of the generated template classes by adding this to build.sbt:
TwirlKeys.constructorAnnotations += "@javax.inject.Inject()"
--
Greg Methvin
Senior Software Engineer