Use gradle-git for version and tagging

    === If local repository is dirty
        -Always builds a SNAPSHOT version.
        -Will complain that 'Stage {} is not one of [SNAPSHOT] allowed for strategy snapshot.'

    === If local repository is not dirty
        Set release type using property release.stage. Valid values are:
            -milestone
            -rc
            -final
        milestone creates a tag with the next version from tag + -milestone.#
        rc similar, but uses rc. Cannot create a milestone after an rc
        final creates a version with no endings

    If want to use ssh authorization, must ensure ssh-agent contains correct key for repository being worked on.
    If you experience issues, try ssh-add -D to clear identities and add the one identity for the repo in question.

    The release tags the current commit, and pushes to the remote repository. It does not check if there's a new commit, so only use it if you really need to.

    gradle bintrayUpload release -Prelease.stage={milestone|rc|final}
Merge pull request #8 from mikezx6r/grgit

Use gradle-git for version and tagging