For injecting the version-no from sbt we need a separate plugin: https://github.com/sbt/sbt-buildinfo