ext {
protobufVersion = '3.24.2'
springVersion = '5.3.31'
- elasticSearchVersion = '7.17.20'
+ elasticSearchClientVersion = '7.17.20'
}
sonar {
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"
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
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"
}
}
algorithm 'SHA-256'
checksum sha256
}
-}
\ No newline at end of file
+}