mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-09 19:09:03 +00:00
Test documented build script snippets when they change
Closes gh-29684
This commit is contained in:
@@ -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 {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
|
||||
Reference in New Issue
Block a user