Make TestSliceMetadata depend on source set's processResources task

Closes gh-36082
pull/36620/head
Andy Wilkinson 1 year ago
parent 92e488345d
commit 0fdaba2487

@ -69,6 +69,7 @@ public class TestSliceMetadata extends DefaultTask {
getInputs().dir((Callable<File>) () -> this.sourceSet.getOutput().getResourcesDir())
.withPathSensitivity(PathSensitivity.RELATIVE)
.withPropertyName("resources");
dependsOn((Callable<String>) () -> this.sourceSet.getProcessResourcesTaskName());
getInputs().files((Callable<FileCollection>) () -> this.sourceSet.getOutput().getClassesDirs())
.withPathSensitivity(PathSensitivity.RELATIVE)
.withPropertyName("classes");

Loading…
Cancel
Save