Skip to content

Commit be32843

Browse files
committed
Configure generated snippets as inputs to the Asciidoctor tasks
Closes gh-22819
1 parent 8f27ad9 commit be32843

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,19 +163,19 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
163163
def integrationDocs = String.format("https://docs.spring.io/spring-integration/docs/%s/reference/html/", integrationVersion)
164164
attributes "spring-integration-docs": integrationDocs
165165
}
166+
dependsOn test
167+
inputs.dir("${buildDir}/generated-snippets")
166168
}
167169

168170
asciidoctor {
169171
configurations "asciidoctorExtensions"
170-
dependsOn test
171172
sources {
172173
include "index.adoc"
173174
}
174175
}
175176

176177
asciidoctorPdf {
177178
configurations "asciidoctorExtensions"
178-
dependsOn test
179179
sources {
180180
include "index.adoc"
181181
}

0 commit comments

Comments
 (0)