spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 6f55b57855 Make discovery of additional config metdata more robust with Gradle
Previously, the configuration metadata annotation processor relied
upon an additional metadata file have been copied to an output
location. When building with Gradle, it's the processResources task
that performs this copy and there is no guarantee that it will have
run before the compileJava task unless an explicit dependency betwee
the two tasks has been configured. If a project is built using
Gradle's parallel build support, the likelihood of this required
ordering not occurring increases.

This commit updates the configuration metadata annotation processor to
consider a new annotation processor option when looking for the
additional config metadata file. The Gradle plugin has been updated
to provide this option as a compiler argument. The option is only
provided when the annotation processor is found on the compilation
classpath to avoid a warning from javac's annotation processing about
the use of an option that is not supported by any of the available
annotation processors.

Closes gh-9755
2017-10-31 14:31:51 +00:00
..
spring-boot-antlib Update copyright year for changed files 2017-10-10 11:56:13 -07:00
spring-boot-autoconfigure-processor Fix POMs for the updated build/release process 2017-10-04 16:34:38 -07:00
spring-boot-configuration-metadata Merge branch '1.5.x' 2017-10-29 14:11:26 +01:00
spring-boot-configuration-processor Make discovery of additional config metdata more robust with Gradle 2017-10-31 14:31:51 +00:00
spring-boot-gradle-plugin Make discovery of additional config metdata more robust with Gradle 2017-10-31 14:31:51 +00:00
spring-boot-loader Merge branch '1.5.x' 2017-10-29 14:11:26 +01:00
spring-boot-loader-tools Merge branch '1.5.x' 2017-10-30 16:31:50 +01:00
spring-boot-maven-plugin Remove explicit type arguments 2017-10-24 14:44:20 +01:00
spring-boot-test-support Remove explicit type arguments 2017-10-24 14:44:20 +01:00
pom.xml Fix POMs for the updated build/release process 2017-10-04 16:34:38 -07:00