diff options
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/build.gradle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/build.gradle b/sonar-plugin-api/build.gradle index af481d0d5ad..778dc84f88f 100644 --- a/sonar-plugin-api/build.gradle +++ b/sonar-plugin-api/build.gradle @@ -74,14 +74,14 @@ artifactoryPublish.skip = false publishing { publications { mavenJava(MavenPublication) { - pom.withXml { - asNode().appendNode('description', description) - asNode().children().last() + pomConfig - } artifact source: shadowJar, classifier: null if (release) { artifact sourcesJar artifact javadocJar + pom.withXml { + asNode().appendNode('description', description) + asNode().children().last() + pomConfig + } } } } |