diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 2f3144bd73..41b08fd8d1 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -179,7 +179,7 @@ dependencies { // Apache 2.0 api("commons-logging:commons-logging:1.3.3") compileOnly("org.opensearch.client", "opensearch-rest-client", opensearchVersion) - testImplementation("org.hamcrest:hamcrest:2.2") + testImplementation("org.hamcrest:hamcrest:3.0") testImplementation("com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.1") { exclude(group = "junit") }