mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-19 15:09:23 +00:00
1.21.11
This commit is contained in:
@@ -32,10 +32,10 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
fun versionBanner() = project.providers.exec {
|
||||
fun versionBanner(): String = project.providers.exec {
|
||||
commandLine("git", "rev-parse", "--short=8", "HEAD")
|
||||
}.standardOutput.asText.map { it.trim() }.getOrElse("Unknown")
|
||||
|
||||
fun builder() = project.providers.exec {
|
||||
fun builder(): String = project.providers.exec {
|
||||
commandLine("git", "config", "user.name")
|
||||
}.standardOutput.asText.map { it.trim() }.getOrElse("Unknown")
|
||||
Reference in New Issue
Block a user