File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -194,15 +194,16 @@ private fun MavenPublication.applyPublicationDetails(
194194
195195private fun MavenPublication.configurePom (deployConfig : Deployed ) {
196196 pom {
197- // Name cannot be set directly through the property, since it somehow isn't applied to Gradle Plugin Marker's POM
198- // (maybe that plugin removes it somehow). Therefore, use the XML builder for this node as it's still required by Maven Central
197+ // Name and description cannot be set directly through the property, since they somehow aren't applied
198+ // to Gradle Plugin Marker's POM file (maybe that plugin removes them somehow). Therefore,
199+ // use the XML builder for this node as these properties are still required by Maven Central
199200 withXml {
200201 with (asNode()) {
201202 appendNode(" name" ).setValue(deployConfig.artifactId)
203+ appendNode(" description" ).setValue(deployConfig.description)
202204 }
203205 }
204206
205- description.set(deployConfig.description)
206207 url.set(Artifacts .githubUrl)
207208
208209 licenses {
You can’t perform that action at this time.
0 commit comments