Required by: CoreSettings
Note: This plugin is auto-enabled as part of CoreSettings
SBT plugin that generates resource files for extracting version information.
artifact.confgit.conf
You can access the generated resource values within your Scala application like so:
// Replace [org] with the SBT 'organization' key's value
val artifactConf = ConfigFactory.parseURL("/[org]/artifact.conf")
val gitConf = ConfigFactory.parseURL("/[org]/git.conf")
val artifactVersion = artifactConf.getString("version")
val gitVersion = gitConf.getString("describe")