mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix gradle script
This commit is contained in:
parent
3e8b8a7575
commit
9e8a6c702d
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,7 @@ def revision = ""
|
|||
def buildNumber = ""
|
||||
def date = ""
|
||||
ext {
|
||||
git = Grgit.open(dir: '.git')
|
||||
git = Grgit.open(dir: new File(rootDir.toString()+'/.git'))
|
||||
date = git.head().getDate().format("yy.MM.dd")
|
||||
revision = "-${git.head().abbreviatedId}"
|
||||
parents = git.head().parentIds;
|
||||
|
@ -43,7 +43,6 @@ ext {
|
|||
}
|
||||
}
|
||||
|
||||
// version = String.format("%s.%s%s%s", rootVersion, date, revision, buildNumber)
|
||||
version = String.format("%s.%s", rootVersion, buildNumber)
|
||||
|
||||
description = rootProject.name
|
||||
|
|
Loading…
Reference in a new issue