mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Previously, the targetJavaVersion property of bootBuildImage was set using the project's target compatibility directly. This meant that property's value would reflect the configured target compatibility at the time of the task's creation and any subsequent changes to the target compatibility would be missed. This commit updates the registration of the bootBuildImage task to set the value of the targetJavaVersion property using a provider. This indirection means that the project's target compatibility isn't read until the value of the targetJavaVersion is read, allowing any changes to the target compatibility to be picked up even if they're made after the bootBuildImage task has been created. Fixes gh-26297 |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-cli | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-properties-migrator | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-tools |