Fix Gradle Script
This commit is contained in:
@@ -46,7 +46,7 @@ allprojects {
|
||||
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;
|
||||
@@ -63,6 +63,7 @@ allprojects {
|
||||
|
||||
version = String.format("%s.%s", rootVersion, buildNumber)
|
||||
}
|
||||
|
||||
description = rootProject.name
|
||||
|
||||
subprojects {
|
||||
@@ -191,4 +192,4 @@ task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all
|
||||
includes += javadocTask.includes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user