How can ResolvedConfiguration be reconciled with Gradle's configuration cache?


I am investigating Gradle’s new configuration cache, and have discovered that it prevents tasks from using either Configuration or ConfigurationContainer. And so by extension, it also prevents tasks from using anything which can only be obtained from a Configuration too, such as a ResolvedConfiguration.

I have discovered that tasks can use an ArtifactCollection obtained from a ResolvableDependencies object. However, Gradle then prevents tasks using its associated ResolutionResult or DependencySet objects, which makes the ArtifactCollection useless for my purposes too.

How will tasks be expected to perform any logic on dependencies once the configuration cache finally “hatches” please? Because I am really not seeing it right now.

Thanks for any help here,