mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
More accurately document buildInfo's effect on up-to-date checking
Closes gh-13152
This commit is contained in:
parent
9e871816d6
commit
d54072e0a8
@ -51,11 +51,11 @@ include::../gradle/integrating-with-actuator/build-info-custom-values.gradle[tag
|
||||
----
|
||||
|
||||
The default value for `build.time` is the instant at which the project is being built. A
|
||||
side-effect of this is that the task will never be up-to-date and, therefore, builds will
|
||||
take slightly longer as more tasks will have to be executed. Another side-effect is that
|
||||
the task's output will always change and, therefore, the build will not be truly
|
||||
repeatable. If you value build performance or repeatability more highly than the accuracy
|
||||
of the `build.time` property, set `time` to `null` or a fixed value.
|
||||
side-effect of this is that the task will never be up-to-date. As a result, builds will
|
||||
take longer as more tasks, including the project's tests, will have to be executed.
|
||||
Another side-effect is that the task's output will always change and, therefore, the build
|
||||
will not be truly repeatable. If you value build performance or repeatability more highly
|
||||
than the accuracy of the `build.time` property, set `time` to `null` or a fixed value.
|
||||
|
||||
Additional properties can also be added to the build information:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user