From 23fe3977d2d319f9f1bd0101f40dbb639ade7082 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 30 Oct 2024 16:57:20 -0700 Subject: [PATCH] Remove spring-boot-starter-aop dependencies Update `spring-boot-starter-data` and `spring-boot-starter-integration` so that they no longer depend on `spring-boot-starter-aop`. The removes the dependency on AspectJ which should help improve startup time. Closes gh-42934 --- .../spring-boot-starter-data-jpa/build.gradle | 2 +- .../spring-boot-starter-integration/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/build.gradle index c7829df20b..0e384b7932 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-jpa/build.gradle @@ -5,7 +5,7 @@ plugins { description = "Starter for using Spring Data JPA with Hibernate" dependencies { - api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-aop")) + api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc")) api("org.hibernate.orm:hibernate-core") api("org.springframework.data:spring-data-jpa") diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-integration/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-integration/build.gradle index 0ce04e823d..7c453264cb 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-integration/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-integration/build.gradle @@ -5,6 +5,6 @@ plugins { description = "Starter for using Spring Integration" dependencies { - api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-aop")) + api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) api("org.springframework.integration:spring-integration-core") }