aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-scanner-protocol/build.gradle')
-rw-r--r--sonar-scanner-protocol/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-scanner-protocol/build.gradle b/sonar-scanner-protocol/build.gradle
index f89669bd222..eec132a2f93 100644
--- a/sonar-scanner-protocol/build.gradle
+++ b/sonar-scanner-protocol/build.gradle
@@ -27,9 +27,10 @@ task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'org.sonar.scanner.protocol.viewer.ScannerReportViewerApp'
}
- baseName = project.name + '-all'
+ archiveBaseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
build.dependsOn fatJar