]> source.dussan.org Git - sonarqube.git/commitdiff
NO-JIRA rename es version variable client/server
authorSteve Marion <steve.marion@sonarsource.com>
Fri, 10 May 2024 13:07:20 +0000 (15:07 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 10 May 2024 20:02:47 +0000 (20:02 +0000)
build.gradle
gradle.properties
sonar-application/build.gradle

index 6339a10c62c5435155befb0c845e34117d7bba8e..846955b14ddcc2270aa38baefd332cce79320aec 100644 (file)
@@ -210,7 +210,7 @@ subprojects {
   ext {
     protobufVersion = '3.24.2'
     springVersion = '5.3.31'
-    elasticSearchVersion = '7.17.20'
+    elasticSearchClientVersion = '7.17.20'
   }
 
   sonar {
@@ -412,10 +412,10 @@ subprojects {
         entry 'jetty-server'
         entry 'jetty-servlet'
       }
-      dependency("org.elasticsearch.client:elasticsearch-rest-high-level-client:${elasticSearchVersion}") {
+      dependency("org.elasticsearch.client:elasticsearch-rest-high-level-client:${elasticSearchClientVersion}") {
         exclude 'org.apache.logging.log4j:log4j-core'
       }
-      dependency "org.elasticsearch.plugin:transport-netty4-client:${elasticSearchVersion}"
+      dependency "org.elasticsearch.plugin:transport-netty4-client:${elasticSearchClientVersion}"
       dependency 'org.elasticsearch:mocksocket:1.2'
       dependency 'org.eclipse.jgit:org.eclipse.jgit:6.9.0.202403050737-r'
       dependency "org.codelibs.elasticsearch.module:analysis-common:7.17.18"
index 12381c458a4f83b3fa23517cc1a0541ad0432671..47cc69ea67ecff74bc3a5ebaaf584f9b24edf65e 100644 (file)
@@ -13,7 +13,7 @@ projectTitle=SonarQube
 org.gradle.jvmargs=-Xmx2048m
 org.gradle.caching=true
 org.gradle.vfs.watch=true
-elasticsearchVersion=8.13.4
+elasticSearchServerVersion=8.13.4
 projectType=application
 artifactoryUrl=https://repox.jfrog.io/repox
 jre_release_name=jdk-17.0.11+9
index 255dfded337660002cbe25cbb8e1c9367c1a637e..9dab90e85b7b5d1c8fe0e88bb26301b0f72df26e 100644 (file)
@@ -80,9 +80,9 @@ dependencies {
     def artifactoryUsername = System.env.'ARTIFACTORY_PRIVATE_USERNAME' ?: (project.hasProperty('artifactoryUsername') ? project.getProperty('artifactoryUsername') : '')
     def artifactoryPassword = System.env.'ARTIFACTORY_PRIVATE_PASSWORD' ?: (project.hasProperty('artifactoryPassword') ? project.getProperty('artifactoryPassword') : '')
     if (artifactoryUsername && artifactoryPassword) {
-      zipDist "sonarqube:elasticsearch:${elasticsearchVersion}-no-jdk-linux-x86_64@tar.gz"
+      zipDist "sonarqube:elasticsearch:${elasticSearchServerVersion}-no-jdk-linux-x86_64@tar.gz"
     } else {
-      zipDist "elasticsearch:elasticsearch:${elasticsearchVersion}-linux-x86_64@tar.gz"
+      zipDist "elasticsearch:elasticsearch:${elasticSearchServerVersion}-linux-x86_64@tar.gz"
     }
 
 }
@@ -449,4 +449,4 @@ def downloadJreFromAdoptium(os, arch, filename, sha256) {
     algorithm 'SHA-256'
     checksum sha256
   }
-}
\ No newline at end of file
+}