aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/build.gradle')
-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
}