From 0ae23de2b5611e34c50ec94289ece59c51fe9363 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 30 Sep 2025 16:27:38 -0700 Subject: [PATCH] Refine test module dependencies See gh-46356 See gh-47322 --- module/spring-boot-data-jpa-test/build.gradle | 1 - module/spring-boot-jooq-test/build.gradle | 2 +- module/spring-boot-jpa-test/build.gradle | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/spring-boot-data-jpa-test/build.gradle b/module/spring-boot-data-jpa-test/build.gradle index 60a2d7de2c1..eea4b9c0b10 100644 --- a/module/spring-boot-data-jpa-test/build.gradle +++ b/module/spring-boot-data-jpa-test/build.gradle @@ -26,7 +26,6 @@ description = "Spring Boot Data JPA Test" dependencies { api(project(":core:spring-boot-test-autoconfigure")) api(project(":module:spring-boot-data-jpa")) - api(project(":module:spring-boot-jdbc-test")) api(project(":module:spring-boot-jpa-test")) optional(project(":core:spring-boot-testcontainers")) diff --git a/module/spring-boot-jooq-test/build.gradle b/module/spring-boot-jooq-test/build.gradle index c5b505c162a..82730e6e260 100644 --- a/module/spring-boot-jooq-test/build.gradle +++ b/module/spring-boot-jooq-test/build.gradle @@ -25,10 +25,10 @@ description = "Spring Boot jOOQ Test" dependencies { api(project(":core:spring-boot-test-autoconfigure")) + api(project(":module:spring-boot-jdbc-test")) api(project(":module:spring-boot-jooq")) optional(project(":core:spring-boot-testcontainers")) - optional(project(":module:spring-boot-jdbc-test")) optional("org.junit.jupiter:junit-jupiter-api") testImplementation(project(":module:spring-boot-flyway")) diff --git a/module/spring-boot-jpa-test/build.gradle b/module/spring-boot-jpa-test/build.gradle index 125e3a3c9e1..9e24f10891c 100644 --- a/module/spring-boot-jpa-test/build.gradle +++ b/module/spring-boot-jpa-test/build.gradle @@ -25,6 +25,7 @@ description = "Spring Boot JPA Test" dependencies { api(project(":core:spring-boot-test-autoconfigure")) + api(project(":module:spring-boot-jdbc-test")) api(project(":module:spring-boot-jpa")) optional(project(":core:spring-boot-autoconfigure"))