Follow-up to https://github.com/gradle/gradle/pull/30317, detached configurations should have a proper root component to allow resolving the current project in them.