While TestSliceMetadata declares the resources dir of the source set's output as an input, this isn't sufficient for Gradle to know that it therefore depends on the processResources task. We should declare such a dependency explicitly to ensure that resource processing is performed before the test slice metadata is generated from the resources.