BuildInfo

data class BuildInfo(val _version: String, val git: Configuration.BuildInfo.GitInfo)

Build information fields.

Unlike other nested classes, this class is read from build.properties. Since all fields within the properties file is not prefixed, the Prefix annotation is required to override the parser prefix setting.

Constructors

Link copied to clipboard
constructor(_version: String, git: Configuration.BuildInfo.GitInfo)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class GitInfo(val branch: String, val hash: String, val abbrevHash: String, val describe: String)

Git information.

Properties

Link copied to clipboard
private val _version: String

The version as specified from the root project of Gradle.

Link copied to clipboard

Git information of this build.

Link copied to clipboard

The version of this build.