Skip to content

Commit

Permalink
fix(bug): Update description setters (#11)
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 bc3107b commit 77180f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ publishing.publications.withType<MavenPublication>().configureEach {
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 = "Hiero - a Linux Foundation Decentralized Trust project"
Expand Down

0 comments on commit 77180f1

Please sign in to comment.