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
pull/35166/head
Yanming Zhou 2 years ago committed by Stephane Nicoll
parent ab610c59c6
commit b615aef810

@ -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")

Loading…
Cancel
Save