Reckon Conventions

Reckon is really awesome, it lets you infer the project version from your Git history.

We prefer the stage version scheme, but don’t want those pesky hashes or timestamps.

The no.conta.reckon-conventions plugin configures stages for rc and beta, and replaces the hash/timestamp with -SNAPSHOT.

The plugin also provides a shortcut, reckon.tag, that combines reckon.scope and reckon.stage. See usage.

Configure

build.gradle
plugins {
    id 'no.conta.reckon-conventions'
}

Usage

Alternative tagging.

normal reckon usage
> gradle reckonTagCreate -Preckon.scope=patch -Preckon.stage=final
alternative
> gradle reckonTagCreate -Preckon.tag=patch.final