Browse Source

Merge pull request #34199 from jprinet

* gh-34199:
  Do not cache :spring-boot-project:spring-boot-docs:asciidoctor* tasks

Closes gh-34199
pull/34332/head
Andy Wilkinson 3 years ago
parent
commit
4d3ec7e619
  1. 7
      spring-boot-project/spring-boot-docs/build.gradle

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

@ -301,10 +301,11 @@ task runLoggingFormatExample(type: org.springframework.boot.build.docs.Applicati @@ -301,10 +301,11 @@ task runLoggingFormatExample(type: org.springframework.boot.build.docs.Applicati
}
tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
outputs.doNotCacheIf("This task uses log files as inputs which contain changing data (timestamp, pid)") { true }
dependsOn dependencyVersions
inputs.files(runRemoteSpringApplicationExample).withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(runSpringApplicationExample).withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(runLoggingFormatExample).withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(runRemoteSpringApplicationExample).withPropertyName("runRemoteSpringApplicationExample").withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(runSpringApplicationExample).withPropertyName("runSpringApplicationExample").withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(runLoggingFormatExample).withPropertyName("runLoggingFormatExample").withPathSensitivity(PathSensitivity.RELATIVE)
asciidoctorj {
fatalWarnings = ['^((?!successfully validated).)*$']
}

Loading…
Cancel
Save