I have a transitive dependency which shows up fine in the dependenies task output, but when actually executing tasks, it’s not in the configuration’s list of files. I’ve looked in configurations.testRuntime.resolvedConfiguration.resolvedArtifacts, and the module just isn’t there, yet it’s in the dependencies task view.
If I add the transitive dependency directly, it then shows up in testRuntime. This hints that the problem isn’t related to a problem identifying the artifact/jar for the module, since Gradle will download it if in the configuration.
There’s a mismatch between the artifacts in the configuration vs what the dependencies task shows. Knowing the difference will help me diagnose why the module is missing.