Skip to content

Commit

Permalink
build(bug): cherry pick #16626 into release 0.56 (#16628)
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Barker <[email protected]>
  • Loading branch information
rbarkerSL authored Nov 15, 2024
1 parent 9ce8976 commit 4a9dfb7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ val maven =
url = "https://www.hashgraph.com/"
inceptionYear = "2016"

// this field must be present. Default to empty string.
description =
providers
.fileContents(layout.projectDirectory.file("../description.txt"))
.asText
.orElse(provider { project.description })
.orElse(provider(project::getDescription))
.map { it.replace("\n", " ").trim() }
.orNull
.orElse("")

organization {
name = "Hedera Hashgraph, LLC"
Expand Down

0 comments on commit 4a9dfb7

Please sign in to comment.