Is there any reason com.squareup.okhttp3:mockwebserver dependency is still on 3.14.4 instead of upgrading it to one of the new 4.x versions?

Comment From: wilkinsona

Yes. Please see https://github.com/spring-projects/spring-boot/issues/18506 for details.