From b615aef8102e0ddbea006e14e8484f1ad3000e3b Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Mon, 24 Apr 2023 09:23:16 +0800 Subject: [PATCH] Fix dependency management for spring-boot-testcontainers This commit adds org.testcontainers:testcontainers as an api dependency of spring-boot-testcontainers so that GenericContainer can be used without an additional dependency See gh-35119 --- spring-boot-project/spring-boot-testcontainers/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-testcontainers/build.gradle b/spring-boot-project/spring-boot-testcontainers/build.gradle index 08b4171666..6942ac93e7 100644 --- a/spring-boot-project/spring-boot-testcontainers/build.gradle +++ b/spring-boot-project/spring-boot-testcontainers/build.gradle @@ -10,6 +10,7 @@ description = "Spring Boot Testcontainers Support" dependencies { api(project(":spring-boot-project:spring-boot-autoconfigure")) + api("org.testcontainers:testcontainers") optional("org.springframework:spring-test") optional("org.springframework.data:spring-data-mongodb")