From 77e8fd07776a22131a5f76ef0bb0bb0bbb791a68 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Mon, 10 Jul 2023 11:36:17 +0800 Subject: [PATCH] Upgrade httpcomponent version after OpenSearch core's upgrade (#847) Signed-off-by: bowenlan-amzn --- build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 4cd9297e5..a589189e1 100644 --- a/build.gradle +++ b/build.gradle @@ -110,10 +110,6 @@ configurations.all { force 'com.google.guava:guava:30.0-jre' force 'com.puppycrawl.tools:checkstyle:8.29' force 'commons-codec:commons-codec:1.13' - force 'org.apache.httpcomponents:httpclient:4.5.13' - force 'org.apache.httpcomponents:httpclient-osgi:4.5.13' - force 'org.apache.httpcomponents.client5:httpclient5:5.0.3' - force 'org.apache.httpcomponents.client5:httpclient5-osgi:5.0.3' force "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}" force "org.yaml:snakeyaml:${versions.snakeyaml}" force 'org.codehaus.plexus:plexus-utils:3.0.24' @@ -212,8 +208,8 @@ dependencies { implementation "org.opensearch:common-utils:${common_utils_version}" implementation "com.github.seancfoley:ipaddress:5.3.3" implementation "commons-codec:commons-codec:${versions.commonscodec}" - implementation "org.apache.httpcomponents:httpclient:4.5.13" - implementation "org.apache.httpcomponents:httpcore:4.4.15" + implementation "org.apache.httpcomponents:httpclient:${versions.httpclient}" + implementation "org.apache.httpcomponents:httpcore:${versions.httpcore}" testImplementation "org.opensearch.test:framework:${opensearch_version}" testImplementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"