spring-boot/spring-boot-project
Andy Wilkinson ef5fbb0669 Configure bootBuildImage's targetJavaVersion using a provider
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
2021-04-29 11:36:03 +01:00
..
spring-boot Update maformed address to one that should fail on CI 2021-04-27 11:50:52 +01:00
spring-boot-actuator Align PushGatewayManager's exception handling with PushMeterRegistry's 2021-03-31 17:01:08 +01:00
spring-boot-actuator-autoconfigure Use main as the branch name in info endpoint example 2021-04-01 16:46:37 +01:00
spring-boot-autoconfigure Use bean class loader when importing auto-configuration 2021-04-26 15:38:01 +01:00
spring-boot-cli Ensure that upstream jars have been built 2021-03-30 20:51:33 +01:00
spring-boot-dependencies Upgrade to Spring Session Dragonfruit-SR3 2021-04-15 09:01:55 +02:00
spring-boot-devtools Make FileSystemWatcherTests more robust 2021-04-09 14:35:41 +01:00
spring-boot-docs Document property names to enable reactive health indicators 2021-04-29 12:28:43 +02:00
spring-boot-parent Upgrade to Testcontainers 1.15.3 2021-04-20 17:05:58 +02:00
spring-boot-properties-migrator Add junit-platform-launcher dependency by convention 2021-02-02 13:03:21 +00:00
spring-boot-starters Deprecate Spring Data Solr support 2021-01-20 13:56:50 +01:00
spring-boot-test Update deprecations with for removal targets 2021-03-29 15:44:58 -07:00
spring-boot-test-autoconfigure Harmonize Neo4jContainer startup options 2021-04-14 14:50:04 +02:00
spring-boot-tools Configure bootBuildImage's targetJavaVersion using a provider 2021-04-29 11:36:03 +01:00