Skip to content

Commit 44b6925

Browse files
author
Alexander Furer
committed
pom fixes
1 parent ab5c1e3 commit 44b6925

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

grpc-spring-boot-starter-gradle-plugin/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ nexusPublishing {
8686
}
8787

8888
}
89-
def withPom = {pomObj->
89+
def withPom = {pomObj, desc->
9090
configure(pomObj,{
9191
name = 'grpc-spring-boot-starter-gradle-plugin'
92-
description = 'Configures project with grpc-spring-boot-starter'
92+
description = "Configures project with grpc-spring-boot-starter ${desc}"
9393
url = 'https://github.com/LogNet/grpc-spring-boot-starter'
9494

9595
scm {
@@ -128,13 +128,13 @@ publishing {
128128
publications {
129129
grpcBootPluginPluginMarkerMaven {
130130
// customize marker publications here
131-
pom = withPom << {it.name +=" marker" }
131+
withPom.call(pom,"")
132132
}
133133
pluginMaven {
134134
// customize main publications here
135135
artifact sourceJar
136136
artifact javadocJar
137-
pom = withPom
137+
withPom.call(pom," marker")
138138
}
139139
}
140140
}

0 commit comments

Comments
 (0)