mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Add property lzNoGitHash to build script
This commit is contained in:
parent
ee5f6c8a58
commit
16ac206e70
@ -20,6 +20,11 @@ ext {
|
||||
git = org.ajoberstar.grgit.Grgit.open(file(".git"))
|
||||
revision = "-${git.head().abbreviatedId}"
|
||||
}
|
||||
|
||||
if ( project.hasProperty("lzNoGitHash") ) { // gradle build -PlzNoGitHash
|
||||
revision = "";
|
||||
}
|
||||
|
||||
version = "3.5.1${revision}"
|
||||
description = """FastAsyncWorldEdit"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user