mirror of https://github.com/halo-dev/halo
Fix the problem of not resolving git properties
See https://github.com/n0mer/gradle-git-properties/issues/242 for morepull/7449/head
parent
d099acfffa
commit
0dd1e13e82
|
@ -68,6 +68,10 @@ bootJar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gitProperties {
|
||||||
|
dotGitDirectory = layout.settingsDirectory.dir('.git')
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('jar') {
|
tasks.named('jar') {
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
|
@ -172,4 +176,4 @@ tasks.named('generateOpenApiDocs') {
|
||||||
outputs.upToDateWhen {
|
outputs.upToDateWhen {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue