aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/build.gradle
diff options
context:
space:
mode:
authorKengo TODA <skypencil@gmail.com>2021-09-11 19:27:25 +0800
committersonartech <sonartech@sonarsource.com>2021-10-08 20:03:10 +0000
commitd0b6b0f341c297ad06a96508d13597b00dd214a6 (patch)
tree2b3e431224b063cf4d7079ff63e4dcf3d0a70087 /sonar-scanner-protocol/build.gradle
parent6847a3b6f9b05ac53c32b628a5875f70ca0cfa15 (diff)
downloadsonarqube-d0b6b0f341c297ad06a96508d13597b00dd214a6.tar.gz
sonarqube-d0b6b0f341c297ad06a96508d13597b00dd214a6.zip
SONAR-15469 Stop using deprecated Gradle API in SonarQube
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