From 34018b1982118aa66800b92b27b4042bd68433bd Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Tue, 28 Nov 2023 11:13:59 +0100 Subject: [PATCH] Reinstate testAndDevelopmentOnly in Testcontainers documentation Closes gh-38571 --- .../src/docs/asciidoc/features/testcontainers.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc index a7c6b751ee8..826db3cb7e3 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc @@ -89,5 +89,5 @@ This is especially useful for Testcontainer `Container` beans, as they keep thei include::code:MyContainersConfiguration[] -WARNING: If you're using Gradle and want to use this feature, you need to change the configuration of the `spring-boot-devtools` dependency from `developmentOnly` to `testImplementation`. +WARNING: If you're using Gradle and want to use this feature, you need to change the configuration of the `spring-boot-devtools` dependency from `developmentOnly` to `testAndDevelopmentOnly`. With the default scope of `developmentOnly`, the `bootTestRun` task will not pick up changes in your code, as the devtools are not active.