Merge branch '3.0.x' into 3.1.x

Closes gh-36084
This commit is contained in:
Andy Wilkinson 2023-06-27 11:11:20 +01:00
commit b4d7e1837e

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