EasyVersionExtension

abstract class EasyVersionExtension

EasyVersion configuration extension class.

Constructors

EasyVersionExtension
Link copied to clipboard
fun EasyVersionExtension()

Properties

logVersion
Link copied to clipboard
var logVersion: Boolean = false
Define if you like the version to logged everytime a gradle sync is happening.
propertiesToSet
Link copied to clipboard
var propertiesToSet: List<String>
Define which properties the plugin will set after its task has completed.
setToProjectVersion
Link copied to clipboard
var setToProjectVersion: Boolean = true
Define whether to set the project version after the plugin task is completed or not.
snapshotDefinition
Link copied to clipboard
var snapshotDefinition: SnapshotDefinition
Define what to use to construct the snapshot version.
snapshotLabel
Link copied to clipboard
var snapshotLabel: String?
Define the snapshot label to append to what snapshot definition generates.
snapshotVersionGenerator
Link copied to clipboard
var snapshotVersionGenerator: () -> String? = null
Generate your own custom snapshot version.

Sources

jvm source
Link copied to clipboard