mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 03:22:52 +08:00
Fix building error
This commit is contained in:
parent
41de6bd229
commit
c105c71e53
@ -229,7 +229,6 @@ javadoc {
|
||||
}
|
||||
|
||||
task injectGitHash {
|
||||
doLast {
|
||||
def gitCommitHash = {
|
||||
try {
|
||||
return 'git rev-parse --verify --short HEAD'.execute().text.trim()
|
||||
@ -245,9 +244,7 @@ task injectGitHash {
|
||||
}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
processResources {
|
||||
dependsOn "generateProto"
|
||||
dependsOn "injectGitHash"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user