aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-12-02 15:57:31 +0100
committersonartech <sonartech@sonarsource.com>2024-12-03 20:03:22 +0000
commitb326aed4014dee252e24d7c21eceaedbeae061ea (patch)
tree8bb1b01846b9a1db5b6cfe383d171f39a02f3e3e /sonar-application/build.gradle
parent9bd9e27c04e16d632cd957a6fc48e26a76106ba8 (diff)
downloadsonarqube-b326aed4014dee252e24d7c21eceaedbeae061ea.tar.gz
sonarqube-b326aed4014dee252e24d7c21eceaedbeae061ea.zip
SONAR-23835 Update provisionned JRE to 17.0.13+11
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index d5f4f2e864a..96f2aee4523 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -423,7 +423,7 @@ tasks.register('updateJresMetadata') {
def metadataContent = []
- def supportedOsAndArch = [[os:'linux', arch:'x64'], [os:'linux', arch:'aarch64'], [os:ext.ALPINE_ADOPTIUM, arch:'x64'], [os: ext.WINDOWS, arch:'x64'], [os:ext.MAC, arch:'x64'], [os:'mac', arch:'aarch64']]
+ def supportedOsAndArch = [[os:'linux', arch:'x64'], [os:'linux', arch:'aarch64'], [os:project.ext.ALPINE_ADOPTIUM, arch:'x64'], [os: project.ext.WINDOWS, arch:'x64'], [os:project.ext.MAC, arch:'x64'], [os:'mac', arch:'aarch64']]
for (jreFlavor in supportedOsAndArch) {
var candidates = response.binaries.findAll {
@@ -435,8 +435,8 @@ tasks.register('updateJresMetadata') {
'id': UUID.randomUUID(),
'filename': jre.package.name,
'sha256': jre.package.checksum,
- 'javaPath': "${jre_release_name}-jre" + (jreFlavor.os == ext.MAC ? '/Contents/Home' : '') + '/bin/java' + (jreFlavor.os == ext.WINDOWS ? '.exe' : ''),
- 'os': jreFlavor.os.replace(ext.ALPINE_ADOPTIUM, ext.ALPINE),
+ 'javaPath': "${jre_release_name}-jre" + (jreFlavor.os == project.ext.MAC ? '/Contents/Home' : '') + '/bin/java' + (jreFlavor.os == project.ext.WINDOWS ? '.exe' : ''),
+ 'os': jreFlavor.os.replace(project.ext.ALPINE_ADOPTIUM, project.ext.ALPINE),
'arch': jreFlavor.arch
]
}