Declare dir task inputs with relative path sensitivity
Closes gh-28751
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user