Test documented build script snippets when they change

Closes gh-29684
pull/29762/head
Andy Wilkinson 3 years ago
parent 3a5bf49e24
commit 48fe1513fe

@ -69,6 +69,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
} }
} }
tasks.named('test') {
inputs.dir('src/docs/gradle').withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName('buildScripts')
}
asciidoctor { asciidoctor {
sources { sources {
include "index.adoc" include "index.adoc"

Loading…
Cancel
Save