From 5729d57c5057999766a4c24efe7047533286983e Mon Sep 17 00:00:00 2001 From: Stefano Cordio Date: Wed, 20 Apr 2022 10:49:06 +0200 Subject: [PATCH] Upgrade to Mockito 4.5.0 This commit also switches to use the Mockito bom. See gh-30759 --- spring-boot-project/spring-boot-dependencies/build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 4782bd3959..0f5e04e194 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1298,12 +1298,10 @@ bom { ] } } - library("Mockito", "4.4.0") { + library("Mockito", "4.5.0") { group("org.mockito") { - modules = [ - "mockito-core", - "mockito-inline", - "mockito-junit-jupiter" + imports = [ + "mockito-bom" ] } }