Skip to content

Commit

Permalink
Exclude Apache HttpClient5 transitive dependencies on Apache HttpCore5 (
Browse files Browse the repository at this point in the history
opensearch-project#569)

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Jul 7, 2023
1 parent e819e3e commit ccbe10a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ dependencies {
compileOnly("org.opensearch.client", "opensearch-rest-client", opensearchVersion)
testImplementation("org.opensearch.test", "framework", opensearchVersion)

api("org.apache.httpcomponents.client5:httpclient5:5.2.1")
api("org.apache.httpcomponents.client5:httpclient5:5.2.1") {
exclude(group = "org.apache.httpcomponents.core5")
}
api("org.apache.httpcomponents.core5:httpcore5:5.2.2")
api("org.apache.httpcomponents.core5:httpcore5-h2:5.2.2")

Expand Down

0 comments on commit ccbe10a

Please sign in to comment.