A singleton that holds the project build version info taken from the build.properties file.
It's particularly convenient for Maven-based projects. Just copy 'build.properties.template'
file to your classpath (without 'template' suffix) and enable Maven resource filtering.
If BuildInfo defaults don't suit your project you can create your own instance
and parametrize it in one of the following ways:
A singleton that holds the project build version info taken from the build.properties file.
It's particularly convenient for Maven-based projects. Just copy 'build.properties.template' file to your classpath (without 'template' suffix) and enable Maven resource filtering.
If BuildInfo defaults don't suit your project you can create your own instance and parametrize it in one of the following ways:
object MyBuildInfo extend BuildInfo(...)
or
val myBuildInfo = BuildInfo(...)