Merge branch '3.1.x'

Closes gh-36085
This commit is contained in:
Andy Wilkinson 2023-06-27 11:11:34 +01:00
commit c038d27c49

View File

@ -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");