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:
@@ -13,9 +13,7 @@ configurations {
|
||||
dependencies {
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation("org.apache.httpcomponents:httpasyncclient") {
|
||||
exclude group: "commons-logging", module: "commons-logging"
|
||||
}
|
||||
intTestImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
intTestImplementation("org.awaitility:awaitility")
|
||||
intTestImplementation("org.springframework:spring-web")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user