Fix building error

This commit is contained in:
mingjun97
2022-05-10 23:55:40 -07:00
committed by Melledy
parent 48b5873fee
commit f16edfd58e

View File

@@ -229,7 +229,6 @@ javadoc {
}
task injectGitHash {
doLast {
def gitCommitHash = {
try {
return 'git rev-parse --verify --short HEAD'.execute().text.trim()
@@ -244,10 +243,8 @@ task injectGitHash {
public static final String GIT_HASH = \"${gitCommitHash()}\";
}
"""
}
}
processResources {
dependsOn "generateProto"
dependsOn "injectGitHash"
}