aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-11-17 15:31:12 +0100
committersonartech <sonartech@sonarsource.com>2022-11-17 20:03:07 +0000
commit80629eea7936251277b5e66a754846ca1acac428 (patch)
tree991804fe37379b3099f6e2a1341ff348e5a9af55 /sonar-application
parenta7a84e21235fd677162d11795df0ddc7a66af806 (diff)
downloadsonarqube-80629eea7936251277b5e66a754846ca1acac428.tar.gz
sonarqube-80629eea7936251277b5e66a754846ca1acac428.zip
SONAR-17611 Fix too much files excluded from build
Diffstat (limited to 'sonar-application')
-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'
}
}