title: SBT including the version number in a program
body: <p>I want a program I'm building to be able to report its own version at runtime (e.g. <code>scala myprog.jar --version</code>). Traditionally in a maven project, I'd use resource filtering (pom.xml -> file.properties -> read value at runtime). I know there's <a href="https://bitbucket.org/wyuenho/sbt-filter-plugin/wiki/Home">sbt-filter-plugin</a> to emulate this functionality, but I'm curious if there's a more standard / preferred / clever way of doing this in SBT.</p>
  
  <p>tl;dr how can I read the version number defined in <code>build.sbt</code> at runtime?</p>