Update build.gradle

Fix build offset
This commit is contained in:
dordsor21 2019-01-12 18:07:46 +00:00 committed by GitHub
parent b7ce2efa7c
commit 83c4a57e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
index = 0; // Offset to match CI
index = -1379; // Offset to match CI
for (;parents != null && !parents.isEmpty();index++) {
parents = git.getResolve().toCommit(parents.get(0)).getParentIds()
}
@ -69,4 +69,4 @@ subprojects {
maven {url "http://maven.sk89q.com/repo/"}
maven {url "http://repo.maven.apache.org/maven2"}
}
}
}