Default gitCommitHash

Dieser Commit ist enthalten in:
Kenzie Togami 2016-02-22 19:16:14 -08:00
Ursprung a1680886a4
Commit a64a53db7f

Datei anzeigen

@ -44,9 +44,11 @@ if (!project.hasProperty("gitCommitHash") && !JavaVersion.current().isJava6()) {
ext.gitCommitHash = repo.head().abbreviatedId
} catch (Exception e) {
println "Error getting commit hash: " + e.getMessage()
ext.gitCommitHash = "no_git_id"
}
}
if (!project.hasProperty("gitCommitHash")) {
ext.gitCommitHash = "no_git_id"
}
subprojects {
apply plugin: 'java'