entry 'jetty-server' | entry 'jetty-server' | ||||
entry 'jetty-servlet' | entry 'jetty-servlet' | ||||
} | } | ||||
dependency('org.elasticsearch.client:elasticsearch-rest-high-level-client:7.12.1') { | |||||
dependency('org.elasticsearch.client:elasticsearch-rest-high-level-client:7.13.3') { | |||||
exclude 'commons-logging:commons-logging' | exclude 'commons-logging:commons-logging' | ||||
} | } | ||||
dependency 'org.elasticsearch.plugin:transport-netty4-client:7.12.1' | |||||
dependency 'org.elasticsearch.plugin:transport-netty4-client:7.13.3' | |||||
dependency 'org.elasticsearch:mocksocket:1.0' | dependency 'org.elasticsearch:mocksocket:1.0' | ||||
//analysis-common need to stay at 7.10.2 as it hasn't been published to mvn central | //analysis-common need to stay at 7.10.2 as it hasn't been published to mvn central | ||||
dependency 'org.codelibs.elasticsearch.module:analysis-common:7.10.2' | dependency 'org.codelibs.elasticsearch.module:analysis-common:7.10.2' |
# https://www.elastic.co/downloads/elasticsearch-no-jdk | # https://www.elastic.co/downloads/elasticsearch-no-jdk | ||||
elasticsearchDownloadUrlPath=https://artifacts.elastic.co/downloads/elasticsearch/ | elasticsearchDownloadUrlPath=https://artifacts.elastic.co/downloads/elasticsearch/ | ||||
elasticsearchDownloadRepoxUrlPath=https://repox.jfrog.io/artifactory/sonarsource-bucket/sonarqube/elasticsearch/ | elasticsearchDownloadRepoxUrlPath=https://repox.jfrog.io/artifactory/sonarsource-bucket/sonarqube/elasticsearch/ | ||||
elasticsearchDownloadUrlFile=elasticsearch-7.12.1-no-jdk-linux-x86_64.tar.gz | |||||
elasticsearchDownloadSha512=c91fd66668977280d7339caf6b4fef9fce5640492f0e2a65bc537c6da8397c801a3727f1ff56b7a1591b11ea47195720c588a4eba473043f829a87cd3dcc0af4 | |||||
elasticsearchDownloadUrlFile=elasticsearch-7.13.3-no-jdk-linux-x86_64.tar.gz | |||||
elasticsearchDownloadSha512=b79c249b7fa181d56a62ae9997f14dac8a1bd64199573bc08a75dd344241d762f05405f391746492ad3843f097a79980a21ef99173c6c1eebe8d51541f20c01b |
} | } | ||||
// Check the size of the archive | // Check the size of the archive | ||||
zip.doLast { | zip.doLast { | ||||
def minLength = 270000000 | |||||
def maxLength = 291000000 | |||||
def minLength = 273000000 | |||||
def maxLength = 294000000 | |||||
def length = archiveFile.get().asFile.length() | def length = archiveFile.get().asFile.length() | ||||
if (length < minLength) | if (length < minLength) |