Fix the problem of not resolving git properties

See https://github.com/n0mer/gradle-git-properties/issues/242 for more
pull/7449/head
John Niang 2025-05-19 17:42:40 +08:00
parent d099acfffa
commit 0dd1e13e82
No known key found for this signature in database
GPG Key ID: D7363C015BBCAA59
1 changed files with 5 additions and 1 deletions

View File

@ -68,6 +68,10 @@ bootJar {
}
}
gitProperties {
dotGitDirectory = layout.settingsDirectory.dir('.git')
}
tasks.named('jar') {
enabled = false
}
@ -172,4 +176,4 @@ tasks.named('generateOpenApiDocs') {
outputs.upToDateWhen {
false
}
}
}