From 2a64cf6fb122eb0cf4810772fc20efa82950ac77 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 23 Oct 2024 11:13:28 -0700 Subject: [PATCH] Add spring-aop to work around Spring Framework mock detection issue --- .../spring-boot-tools/spring-boot-test-support/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle index 7b22be3960a9..119980e44c70 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle @@ -32,6 +32,7 @@ dependencies { implementation("org.assertj:assertj-core") implementation("org.hamcrest:hamcrest-core") implementation("org.hamcrest:hamcrest-library") + implementation("org.springframework:spring-aop") implementation("org.springframework:spring-core") implementation("org.springframework:spring-test") implementation("org.springframework:spring-core-test")