aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/build.gradle6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-testing-harness/build.gradle b/sonar-testing-harness/build.gradle
index 562642ff813..f6493bcca95 100644
--- a/sonar-testing-harness/build.gradle
+++ b/sonar-testing-harness/build.gradle
@@ -24,8 +24,10 @@ publishing {
publications {
mavenJava(MavenPublication) {
from components.java
- artifact sourcesJar
- artifact javadocJar
+ if (release) {
+ artifact sourcesJar
+ artifact javadocJar
+ }
}
}
}