From 44b69250c8e3aab9a0c4db572f3621e9f2deb8e9 Mon Sep 17 00:00:00 2001 From: Alexander Furer Date: Sun, 20 Jun 2021 09:28:43 +0300 Subject: [PATCH] pom fixes --- grpc-spring-boot-starter-gradle-plugin/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grpc-spring-boot-starter-gradle-plugin/build.gradle b/grpc-spring-boot-starter-gradle-plugin/build.gradle index 17380413..91013511 100644 --- a/grpc-spring-boot-starter-gradle-plugin/build.gradle +++ b/grpc-spring-boot-starter-gradle-plugin/build.gradle @@ -86,10 +86,10 @@ nexusPublishing { } } -def withPom = {pomObj-> +def withPom = {pomObj, desc-> configure(pomObj,{ name = 'grpc-spring-boot-starter-gradle-plugin' - description = 'Configures project with grpc-spring-boot-starter' + description = "Configures project with grpc-spring-boot-starter ${desc}" url = 'https://github.com/LogNet/grpc-spring-boot-starter' scm { @@ -128,13 +128,13 @@ publishing { publications { grpcBootPluginPluginMarkerMaven { // customize marker publications here - pom = withPom << {it.name +=" marker" } + withPom.call(pom,"") } pluginMaven { // customize main publications here artifact sourceJar artifact javadocJar - pom = withPom + withPom.call(pom," marker") } } }