Declare dir task inputs with relative path sensitivity
Closes gh-28751
This commit is contained in:
parent
c68e66c63f
commit
96d98a0f6f
|
@ -215,7 +215,7 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
|
||||||
attributes "spring-integration-docs": integrationDocs
|
attributes "spring-integration-docs": integrationDocs
|
||||||
}
|
}
|
||||||
dependsOn test
|
dependsOn test
|
||||||
inputs.dir("${buildDir}/generated-snippets")
|
inputs.dir("${buildDir}/generated-snippets").withPathSensitivity(PathSensitivity.RELATIVE)
|
||||||
}
|
}
|
||||||
|
|
||||||
asciidoctor {
|
asciidoctor {
|
||||||
|
|
|
@ -41,7 +41,7 @@ processResources {
|
||||||
task integrationTest {
|
task integrationTest {
|
||||||
dependsOn copyIntegrationTestSources, jar
|
dependsOn copyIntegrationTestSources, jar
|
||||||
def resultsDir = file("${buildDir}/test-results/integrationTest")
|
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)
|
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer)
|
||||||
outputs.dirs resultsDir
|
outputs.dirs resultsDir
|
||||||
doLast {
|
doLast {
|
||||||
|
|
Loading…
Reference in New Issue