Automatically set version from git

- Uses last tag on master branch (this is set on 'git flow release finish')
- branch name snapshot otherwise, e.g. 'feature-nio-SNAPSHOT', 'develop-SNAPSHOT'

(cherry picked from commit 86cfc66a40)
This commit is contained in:
2016-08-12 22:02:06 +02:00
parent 631e71bc74
commit 41c4447514
4 changed files with 58 additions and 6 deletions

View File

@ -0,0 +1 @@
implementation-class=ch.dissem.gradle.GitFlowVersion