Adapt build dependencies to httpclient5

As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.

See gh-32461
This commit is contained in:
Brian Clozel
2022-09-21 14:21:53 +02:00
parent 3702c71fc1
commit 5fb2a50ad0
19 changed files with 18 additions and 51 deletions

View File

@@ -25,9 +25,7 @@ dependencies {
systemTestImplementation(enforcedPlatform(project(path: ":spring-boot-project:spring-boot-parent")))
systemTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
systemTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
systemTestImplementation("org.apache.httpcomponents:httpasyncclient") {
exclude group: "commons-logging", module: "commons-logging"
}
systemTestImplementation("org.apache.httpcomponents.client5:httpclient5")
systemTestImplementation("org.awaitility:awaitility")
systemTestImplementation("org.testcontainers:junit-jupiter")
systemTestImplementation("org.testcontainers:testcontainers")