The resolution of the copy (which has been made resolvable) causes the action to run. It then tries to access the resolved configuration but does so using the original, unresolvable configuration which fails. We need to check that the action is being called with the ResolvableDependencies with which it was registered and ignore the call when it is not. See https://github.com/ben-manes/gradle-versions-plugin/issues/432 for background.