I would like to add build information to the footer of my Play! application (Play! 2.0.4 with Scala), similar as done here on stackoverflow. I'm new to SBT and just happy that most of the time everything works like a charm. :-)
Basically, I would like to extract the application version from project/Build.scala
, add the current date, and finally add a build number (that is incremented automatically, but that may be the topic of another question to post). This information should be added to a file conf/build-info.conf
that is included into the main conf/application.conf
. I know how to extract the build info from the application configuration and add it to the pages.
Thank you for your time!