BuildProperties

Provide build-related information such as group and artifact.

Author

Stephane Nicoll

Since

1.4.0

Constructors

Link copied to clipboard
constructor(entries: Properties)
Create an instance with the specified entries.

Functions

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
open fun get(key: String): String
Return the value of the specified property or null.
Link copied to clipboard
open fun getArtifact(): String
Return the artifactId of the project or null.
Link copied to clipboard
open fun getGroup(): String
Return the groupId of the project or null.
Link copied to clipboard
open fun getInstant(key: String): Instant
Return the value of the specified property as an Instant or null if the value is not a valid Long representation of an epoch time.
Link copied to clipboard
open fun getName(): String
Return the name of the project or null.
Link copied to clipboard
open fun getTime(): Instant
Return the timestamp of the build or null.
Link copied to clipboard
open fun getVersion(): String
Return the version of the project or null.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return a PropertySource of this instance.