mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 12:35:15 +01:00
Fix gradle script
This commit is contained in:
parent
59517647b5
commit
7542dbeab8
@ -28,7 +28,7 @@ def revision = ""
|
|||||||
def buildNumber = ""
|
def buildNumber = ""
|
||||||
def date = ""
|
def date = ""
|
||||||
ext {
|
ext {
|
||||||
git = Grgit.open(dir: '.git')
|
git = Grgit.open(dir: new File(rootDir.toString()+'/.git'))
|
||||||
date = git.head().getDate().format("yy.MM.dd")
|
date = git.head().getDate().format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
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)
|
version = String.format("%s.%s", rootVersion, buildNumber)
|
||||||
|
|
||||||
description = rootProject.name
|
description = rootProject.name
|
||||||
|
Loading…
Reference in New Issue
Block a user