aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-application/build.gradle19
1 files changed, 11 insertions, 8 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 2192a0fbdec..28163b86c07 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -140,14 +140,17 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, downloadElastic
jsonFile.file.text = JsonOutput.prettyPrint(jsonText)
}
}
- from(file('src/main/assembly')) {
- exclude 'conf/sonar.properties'
- exclude 'bin/windows-x86-64/lib/SonarServiceWrapperTemplate.xml'
- exclude 'bin/windows-x86-64/StartSonar.bat'
- exclude 'elasticsearch-patch'
- exclude 'bin/linux-x86-64/sonar.sh'
- exclude 'bin/macosx-universal-64/sonar.sh'
- }
+ }
+ }
+
+ into("${archiveDir}/") {
+ from(file('src/main/assembly')) {
+ exclude 'conf/sonar.properties'
+ exclude 'bin/windows-x86-64/lib/SonarServiceWrapperTemplate.xml'
+ exclude 'bin/windows-x86-64/StartSonar.bat'
+ exclude 'elasticsearch-patch'
+ exclude 'bin/linux-x86-64/sonar.sh'
+ exclude 'bin/macosx-universal-64/sonar.sh'
}
}