Fixed the build.gradle

This commit is contained in:
B.J. Dweck 2020-09-03 00:23:09 +02:00
parent c8d2a4ad75
commit a80561a6c3

View File

@ -25,7 +25,7 @@ application {
def isRelease = versionDetails().commitDistance == 0 && def isRelease = versionDetails().commitDistance == 0 &&
versionDetails().isCleanTag && versionDetails().isCleanTag &&
versionDetails().branchName == 'master' ((versionDetails().branchName == 'master') || (versionDetails().branchName == 'null'))
version isRelease ? gitVersion.call() : gitVersion.call() + "-${versionDetails().branchName}-SNAPSHOT" version isRelease ? gitVersion.call() : gitVersion.call() + "-${versionDetails().branchName}-SNAPSHOT"