Skip to content

Commit

Permalink
fix(bug): Update description setters
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
  • Loading branch information
rbarkerSL committed Nov 15, 2024
1 parent bc3107b commit 73a658d
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 73a658d

Please sign in to comment.