• Lars Grefer's avatar
    Fix recommended task dependency configuration · c748f368
    Lars Grefer authored
    `compileJava.dependsOn(processResources)` is not enough to ensure the
    correct behavior. Using `dependsOn` only affects the execution order
    (`processResources` before `compileJava`) but not the up-to-date check
    of `compileJava`. After modifying
    `META-INF/additional-spring-configuration-metadata.json`, the
    `processResouces` task will considered out-of-date and will be
    re-executed, but after that `compileJava` will still be considered
    up-to-date which causes the changes not to be merged into
    `META-INF/spring-configuration-metadata.json`
    
    With this change the up-do-date check of `compileJava` is affected,
    too. Therefore, it will correctly re-execute the
    configuration-processor when
    `META-INF/additional-spring-configuration-metadata.json` was changed.
    
    See gh-20323
    c748f368
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...