From 855d9b0a916937024a0b6835cfafc253951ec2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Sun, 27 Jul 2025 11:58:44 +0200 Subject: [PATCH] Restore proper usage of MongoDB starters This could be that a change must be made in spring-boot-mongodb itself but this helps to fix the build. See gh-46548 --- starter/spring-boot-starter-data-mongodb-reactive/build.gradle | 3 +-- starter/spring-boot-starter-data-mongodb/build.gradle | 3 +-- starter/spring-boot-starter-session-data-mongodb/build.gradle | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/starter/spring-boot-starter-data-mongodb-reactive/build.gradle b/starter/spring-boot-starter-data-mongodb-reactive/build.gradle index bafdcf4744f..e328eb102dd 100644 --- a/starter/spring-boot-starter-data-mongodb-reactive/build.gradle +++ b/starter/spring-boot-starter-data-mongodb-reactive/build.gradle @@ -21,10 +21,9 @@ plugins { description = "Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive" dependencies { - api(project(":starter:spring-boot-starter")) + api(project(":starter:spring-boot-starter-mongodb")) api(project(":module:spring-boot-data-mongodb")) - api(project(":module:spring-boot-mongodb")) api(project(":module:spring-boot-reactor")) api("org.mongodb:mongodb-driver-reactivestreams") diff --git a/starter/spring-boot-starter-data-mongodb/build.gradle b/starter/spring-boot-starter-data-mongodb/build.gradle index 66764c454a0..0c8c0294658 100644 --- a/starter/spring-boot-starter-data-mongodb/build.gradle +++ b/starter/spring-boot-starter-data-mongodb/build.gradle @@ -21,8 +21,7 @@ plugins { description = "Starter for using MongoDB document-oriented database and Spring Data MongoDB" dependencies { - api(project(":starter:spring-boot-starter")) + api(project(":starter:spring-boot-starter-mongodb")) api(project(":module:spring-boot-data-mongodb")) - api(project(":module:spring-boot-mongodb")) } diff --git a/starter/spring-boot-starter-session-data-mongodb/build.gradle b/starter/spring-boot-starter-session-data-mongodb/build.gradle index 97841704b0a..3ecb2f5d4c7 100644 --- a/starter/spring-boot-starter-session-data-mongodb/build.gradle +++ b/starter/spring-boot-starter-session-data-mongodb/build.gradle @@ -21,9 +21,7 @@ plugins { description = "Starter for using Spring Session with Spring Data MongoDB" dependencies { - api(project(":starter:spring-boot-starter")) api(project(":starter:spring-boot-starter-data-mongodb")) api(project(":module:spring-boot-session-data-mongodb")) - api(project(":module:spring-boot-data-mongodb")) }