diff --git a/build.gradle b/build.gradle index 03c56f755..20741119c 100644 --- a/build.gradle +++ b/build.gradle @@ -55,6 +55,10 @@ configurations { } } +// Override Spring Boot 2.6.3 BOM pins so the upgraded HttpClient 5 line resolves intact. +ext['httpclient5.version'] = '5.6.1' +ext['httpcore5.version'] = '5.4' + dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-validation' @@ -86,7 +90,7 @@ dependencies { testImplementation 'io.github.bonigarcia:webdrivermanager:5.6.2' testImplementation 'org.testng:testng:7.8.0' testImplementation 'com.aventstack:extentreports:5.1.1' - testImplementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1' + testImplementation 'org.apache.httpcomponents.client5:httpclient5:5.6.1' } tasks.named('test') {