ajoberstar / reckon

Infer a project's version from your Git repository.
Apache License 2.0
185 stars 28 forks source link

Small changes to allow for configuring scope and stage defaults via gradle #116

Closed rgozim closed 4 years ago

rgozim commented 5 years ago

This PR essentially handles the issue described in https://github.com/ajoberstar/reckon/issues/115

Configuration can be achieved for example, via:

reckon {
    scopeFromProp("minor") // set default scope should one not be provided via "reckon.scope"
    stagesFromProp(stage: "final")
}

Please note, tests need to be updated.