Skip to content

Commit 96d98a0

Browse files
committed
Declare dir task inputs with relative path sensitivity
Closes gh-28751
1 parent c68e66c commit 96d98a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
215215
attributes "spring-integration-docs": integrationDocs
216216
}
217217
dependsOn test
218-
inputs.dir("${buildDir}/generated-snippets")
218+
inputs.dir("${buildDir}/generated-snippets").withPathSensitivity(PathSensitivity.RELATIVE)
219219
}
220220

221221
asciidoctor {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ processResources {
4141
task integrationTest {
4242
dependsOn copyIntegrationTestSources, jar
4343
def resultsDir = file("${buildDir}/test-results/integrationTest")
44-
inputs.dir file("src/it")
44+
inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE)
4545
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer)
4646
outputs.dirs resultsDir
4747
doLast {

0 commit comments

Comments
 (0)