From 8e2a39bdd5e9ae64a07826b3de50f08dea94198e Mon Sep 17 00:00:00 2001 From: SOBUE Sho Date: Fri, 13 May 2022 20:40:47 +0900 Subject: [PATCH] Import OkHttp's bom rather than declaring modules individually See gh-31027 --- .../spring-boot-dependencies/build.gradle | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 7f76f1a00b9..1394f612abb 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1355,16 +1355,8 @@ bom { } library("OkHttp", "4.9.3") { group("com.squareup.okhttp3") { - modules = [ - "logging-interceptor", - "mockwebserver", - "okcurl", - "okhttp", - "okhttp-brotli", - "okhttp-dnsoverhttps", - "okhttp-sse", - "okhttp-tls", - "okhttp-urlconnection" + imports = [ + "okhttp-bom" ] } }