From 77180f1be083fa2326e076cd6017bee0a586b93e Mon Sep 17 00:00:00 2001 From: Roger Barker Date: Fri, 15 Nov 2024 15:19:59 -0600 Subject: [PATCH] fix(bug): Update description setters (#11) Signed-off-by: Roger Barker --- ...g.hiero.gradle.feature.publish-maven-repository.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org.hiero.gradle.feature.publish-maven-repository.gradle.kts b/src/main/kotlin/org.hiero.gradle.feature.publish-maven-repository.gradle.kts index 224da02..a1a5600 100644 --- a/src/main/kotlin/org.hiero.gradle.feature.publish-maven-repository.gradle.kts +++ b/src/main/kotlin/org.hiero.gradle.feature.publish-maven-repository.gradle.kts @@ -75,9 +75,9 @@ publishing.publications.withType().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"