diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-configuration-metadata.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-configuration-metadata.adoc index 65178aba0d..43e7d119e6 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-configuration-metadata.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-configuration-metadata.adoc @@ -730,7 +730,7 @@ If you are using an `additional-spring-configuration-metadata.json` file, the `c [source,groovy,indent=0,subs="verbatim,quotes,attributes"] ---- - compileJava.dependsOn(processResources) + compileJava.inputs.files(processResources) ---- This dependency ensures that the additional metadata is available when the annotation processor runs during compilation.