diff options
author | Dimitris Kavvathas <dimitris.kavvathas@sonarsource.com> | 2022-08-03 10:26:49 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-05 20:03:27 +0000 |
commit | 4d2d50a716507d02c04dfa8a5885415a8116c213 (patch) | |
tree | 7f47956fe21c865608d44f90a8e81af89d0a74aa /sonar-application/build.gradle | |
parent | 14cf47a4180798e8f76eeaf7e297f4be96428107 (diff) | |
download | sonarqube-4d2d50a716507d02c04dfa8a5885415a8116c213.tar.gz sonarqube-4d2d50a716507d02c04dfa8a5885415a8116c213.zip |
SONAR-17137 Replace JSW with WinSW for running SQ on Windows
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r-- | sonar-application/build.gradle | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle index f0bb9ada066..1784e591257 100644 --- a/sonar-application/build.gradle +++ b/sonar-application/build.gradle @@ -141,6 +141,8 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, tasks.downloadL from(file('src/main/assembly')) { exclude 'conf/sonar.properties' exclude 'conf/wrapper.conf' + exclude 'bin/windows-x86-64/SonarService.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' @@ -237,6 +239,14 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, tasks.downloadL ]) } + into("${archiveDir}/bin/windows-x86-64/") { + from file('src/main/assembly/bin/windows-x86-64/SonarService.xml') + from file('src/main/assembly/bin/windows-x86-64/StartSonar.bat') + filter(ReplaceTokens, tokens: [ + 'sqversion': version + ]) + } + into("${archiveDir}/elasticsearch/") { from file('src/main/assembly/elasticsearch-patch') include 'bin/elasticsearch' |