From 9ff52a61eb2bb3fbbfa54740f72c5813519130ed Mon Sep 17 00:00:00 2001 From: thc202 Date: Thu, 21 Sep 2023 16:48:42 +0100 Subject: [PATCH] Correct POM description configuration Use a provider since the project description might not yet have been set when the POM is configured. Signed-off-by: thc202 --- addOns/addOns.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addOns/addOns.gradle.kts b/addOns/addOns.gradle.kts index b4fe9bf42ca..f6b5c3598af 100644 --- a/addOns/addOns.gradle.kts +++ b/addOns/addOns.gradle.kts @@ -295,7 +295,7 @@ subprojects { pom { name.set(project.zapAddOn.addOnName.map { "ZAP - $it Add-on" }) packaging = "jar" - description.set(project.description) + description.set(provider { project.description }) url.set("https://github.com/zaproxy/zap-extensions") inceptionYear.set(project.property("zap.maven.pom.inceptionyear") as String)