Skip to content

Commit f387dce

Browse files
committed
Merge branch '3.0.x'
Closes gh-34204
2 parents c7844ba + 9031b52 commit f387dce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot-docs/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,11 @@ task runLoggingFormatExample(type: org.springframework.boot.build.docs.Applicati
284284
}
285285

286286
tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
287+
outputs.doNotCacheIf("This task uses log files as inputs which contain changing data (timestamp, pid)") { true }
287288
dependsOn dependencyVersions
288-
inputs.files(runRemoteSpringApplicationExample).withPathSensitivity(PathSensitivity.RELATIVE)
289-
inputs.files(runSpringApplicationExample).withPathSensitivity(PathSensitivity.RELATIVE)
290-
inputs.files(runLoggingFormatExample).withPathSensitivity(PathSensitivity.RELATIVE)
289+
inputs.files(runRemoteSpringApplicationExample).withPropertyName("runRemoteSpringApplicationExample").withPathSensitivity(PathSensitivity.RELATIVE)
290+
inputs.files(runSpringApplicationExample).withPropertyName("runSpringApplicationExample").withPathSensitivity(PathSensitivity.RELATIVE)
291+
inputs.files(runLoggingFormatExample).withPropertyName("runLoggingFormatExample").withPathSensitivity(PathSensitivity.RELATIVE)
291292
asciidoctorj {
292293
fatalWarnings = ['^((?!successfully validated).)*$']
293294
}

0 commit comments

Comments
 (0)