Declare dir task inputs with relative path sensitivity

Closes gh-28751
pull/28778/head
Andy Wilkinson 3 years ago
parent c68e66c63f
commit 96d98a0f6f

@ -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 {

@ -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 {

Loading…
Cancel
Save