diff options
author | David Rautureau <david.rautureau@sonarsource.com> | 2018-03-28 12:37:09 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2018-04-04 14:25:32 +0200 |
commit | a70aa466e5d5b198958ea015f3b22467227d5b2c (patch) | |
tree | 3656d33c9e30e2a17ed7a4dce45bedf89e3ad327 /server/sonar-qa-util | |
parent | c9e60ded9b8ffe4f97c73447c3ceda6919662a1e (diff) | |
download | sonarqube-a70aa466e5d5b198958ea015f3b22467227d5b2c.tar.gz sonarqube-a70aa466e5d5b198958ea015f3b22467227d5b2c.zip |
BUILD-630 Generate javadoc ad sources jars with Gradle only on release branches
Diffstat (limited to 'server/sonar-qa-util')
-rw-r--r-- | server/sonar-qa-util/build.gradle | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-qa-util/build.gradle b/server/sonar-qa-util/build.gradle index aab7d38eb88..da6634f460c 100644 --- a/server/sonar-qa-util/build.gradle +++ b/server/sonar-qa-util/build.gradle @@ -22,8 +22,10 @@ publishing { publications { mavenJava(MavenPublication) { from components.java - artifact sourcesJar - artifact javadocJar + if (release) { + artifact sourcesJar + artifact javadocJar + } } } } |