aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-04-04 14:39:44 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2018-04-04 14:39:44 +0200
commit81e92fa096160e36a82c8cd22e408cd1b374d8b8 (patch)
tree8f11c9a8c8dc1c2dcddd01b82f99ac39724509e2 /sonar-application
parent4dec6ebfeef852905d9db4670757238f797c9d58 (diff)
downloadsonarqube-81e92fa096160e36a82c8cd22e408cd1b374d8b8.tar.gz
sonarqube-81e92fa096160e36a82c8cd22e408cd1b374d8b8.zip
Fix build
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/build.gradle8
1 files changed, 5 insertions, 3 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 80c95352ac8..f77f329a5f1 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -153,9 +153,11 @@ artifactoryPublish.skip = false
publishing {
publications {
mavenJava(MavenPublication) {
- pom.withXml {
- asNode().appendNode('description', description)
- asNode().children().last() + pomConfig
+ if (release) {
+ pom.withXml {
+ asNode().appendNode('description', description)
+ asNode().children().last() + pomConfig
+ }
}
artifact zip
}