mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-08 17:07:38 +00:00
Default gitCommitHash
This commit is contained in:
parent
a1680886a4
commit
a64a53db7f
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user