version bump

This commit is contained in:
yushijinhun 2018-02-13 11:52:43 +08:00
parent 8aa3f20a60
commit bbd2b22e0c
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4

View File

@ -20,7 +20,7 @@ dependencies {
def gitInfo = versionDetails() def gitInfo = versionDetails()
sourceCompatibility = 1.8 sourceCompatibility = 1.8
version = '1.0.' + (System.getenv('BUILD_NUMBER')?:'0-SNAPSHOT') + '-' + gitInfo.gitHashFull[0..6] version = '1.1.' + (System.getenv('BUILD_NUMBER')?:'0-SNAPSHOT') + '-' + gitInfo.gitHashFull[0..6]
if (!gitInfo.isCleanTag) version += '.dirty' if (!gitInfo.isCleanTag) version += '.dirty'
jar { jar {