Skip to content

Commit 17c8a57

Browse files
authored
Merge branch 'main' into add.documentation
2 parents 5da094f + 133612b commit 17c8a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ java {
3939
tasks.withType<ProcessResources> {
4040
expand(
4141
"version" to version,
42-
"git_revision" to (rootProject.extra.get("gitHashFull") ?: "unknown")
42+
"git_revision" to (if (rootProject.extra.has("gitHashFull")) rootProject.extra["gitHashFull"] else "unknown")
4343
)
4444
}
4545

0 commit comments

Comments
 (0)