Merge branch '2.7.x' into 3.0.x

Closes gh-36083
This commit is contained in:
Andy Wilkinson 2023-06-27 11:10:51 +01:00
commit 774993b510

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