Skip to content

Commit 48fe151

Browse files
committed
Test documented build script snippets when they change
Closes gh-29684
1 parent 3a5bf49 commit 48fe151

File tree

1 file changed

+4
-0
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin

1 file changed

+4
-0
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
6969
}
7070
}
7171

72+
tasks.named('test') {
73+
inputs.dir('src/docs/gradle').withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName('buildScripts')
74+
}
75+
7276
asciidoctor {
7377
sources {
7478
include "index.adoc"

0 commit comments

Comments
 (0)