Change output jar name

This commit is contained in:
Jesse Boyd
2018-08-13 03:38:20 +10:00
parent 7fb3899bb7
commit 74ec39d67b
3 changed files with 6 additions and 2 deletions

View File

@@ -39,6 +39,10 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
index = 0; // Offset to match CI
for (; parents != null && !parents.isEmpty(); index++) {
commit = git.getResolve().toCommit(parents.get(0));
parents = commit.getParentIds()
}
buildNumber = "-${index}"
} catch (Throwable ignore) {
revision = "unknown";