Merge branch '2.6.x' into 2.7.x

Closes gh-30060
This commit is contained in:
Andy Wilkinson 2022-03-03 20:39:21 +00:00
commit d47b56a40e
3 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,9 @@ If you are using an `additional-spring-configuration-metadata.json` file, the `c
[source,gradle,indent=0,subs="verbatim"] [source,gradle,indent=0,subs="verbatim"]
---- ----
compileJava.inputs.files(processResources) tasks.named('compileJava') {
inputs.files(tasks.named('processResources'))
}
---- ----
This dependency ensures that the additional metadata is available when the annotation processor runs during compilation. This dependency ensures that the additional metadata is available when the annotation processor runs during compilation.

View File

@ -30,7 +30,7 @@ The following example shows the equivalent Gradle configuration:
[source,gradle,indent=0,subs="verbatim"] [source,gradle,indent=0,subs="verbatim"]
---- ----
bootJar { tasks.named('bootJar') {
launchScript() launchScript()
} }
---- ----

View File

@ -71,7 +71,7 @@ You can automatically expand properties from the Gradle project by configuring t
[source,gradle,indent=0,subs="verbatim"] [source,gradle,indent=0,subs="verbatim"]
---- ----
processResources { tasks.named('processResources') {
expand(project.properties) expand(project.properties)
} }
---- ----