Skip to content

Commit da68edc

Browse files
committed
[Test] Use version range for elasticsearch-java
Snapshot builds of elasticsearch-java are no longer available. Using the current major highest version should be safe according to the compatibility guarantees described on https://github.com/elastic/elasticsearch-java?tab=readme-ov-file#compatibility
1 parent 7bd2b80 commit da68edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/examples/security-authorization-engine/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
testImplementation "org.elasticsearch.plugin:x-pack-core:${elasticsearchVersion}"
1717
javaRestTestImplementation "org.elasticsearch.plugin:x-pack-core:${elasticsearchVersion}"
1818
javaRestTestImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
19-
javaRestTestImplementation("co.elastic.clients:elasticsearch-java:${elasticsearchVersion}")
19+
javaRestTestImplementation "co.elastic.clients:elasticsearch-java:[9.0,10.0)"
2020
javaRestTestImplementation "org.elasticsearch.client:elasticsearch-rest-client:${elasticsearchVersion}"
2121
javaRestTestImplementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
2222
javaRestTestImplementation "org.elasticsearch.test:framework:${elasticsearchVersion}"

0 commit comments

Comments
 (0)