diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle index 7a52f189e6..ce58af04cb 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle @@ -215,7 +215,7 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) { attributes "spring-integration-docs": integrationDocs } dependsOn test - inputs.dir("${buildDir}/generated-snippets") + inputs.dir("${buildDir}/generated-snippets").withPathSensitivity(PathSensitivity.RELATIVE) } asciidoctor { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle index 5d0e114fc8..aef4c19eee 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle @@ -41,7 +41,7 @@ processResources { task integrationTest { dependsOn copyIntegrationTestSources, jar def resultsDir = file("${buildDir}/test-results/integrationTest") - inputs.dir file("src/it") + inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE) inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer) outputs.dirs resultsDir doLast {