support compiling Twirl templates as part of the build

Enable for a project in build.properties:
extras.twirl = true