Name custom task inputs

Closes gh-28753
This commit is contained in:
Andy Wilkinson
2021-11-19 15:28:37 +00:00
parent 96d98a0f6f
commit 015cf920da
4 changed files with 5 additions and 5 deletions

View File

@@ -41,8 +41,8 @@ processResources {
task integrationTest {
dependsOn copyIntegrationTestSources, jar
def resultsDir = file("${buildDir}/test-results/integrationTest")
inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer)
inputs.dir(file("src/it")).withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName("source")
inputs.files(sourceSets.main.runtimeClasspath).withNormalizer(ClasspathNormalizer).withPropertyName("classpath")
outputs.dirs resultsDir
doLast {
ant.with {