diff options
author | David Rautureau <david.rautureau@sonarsource.com> | 2018-04-04 14:39:44 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2018-04-04 14:39:44 +0200 |
commit | 81e92fa096160e36a82c8cd22e408cd1b374d8b8 (patch) | |
tree | 8f11c9a8c8dc1c2dcddd01b82f99ac39724509e2 /sonar-plugin-api/build.gradle | |
parent | 4dec6ebfeef852905d9db4670757238f797c9d58 (diff) | |
download | sonarqube-81e92fa096160e36a82c8cd22e408cd1b374d8b8.tar.gz sonarqube-81e92fa096160e36a82c8cd22e408cd1b374d8b8.zip |
Fix build
Diffstat (limited to 'sonar-plugin-api/build.gradle')
-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 + } } } } |