diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index eff2ed8c03..44165ebf6d 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -186,7 +186,7 @@ dependencies { } testImplementation("org.opensearch.client", "opensearch-rest-client", opensearchVersion) - api("org.apache.httpcomponents.client5:httpclient5:5.4") { + api("org.apache.httpcomponents.client5:httpclient5:5.4.1") { exclude(group = "org.apache.httpcomponents.core5") } api("org.apache.httpcomponents.core5:httpcore5:5.3")