Manually created detached configurations like the one currently being used don't inherit the resolution strategy and other customizations from the original configuration. This does, and otherwise appears to behave exactly the same in testing.
This change lets projects make use of Gradle's custom dependency resolution rules such as substitutions or version overrides, as well as exclusions, allowing for much more streamlined multi-project workspaces and build environments.
As requested, this PR has been tested against the latest version of the MDK, and both upstream Forge and JEI.
Manually created detached configurations like the one currently being used don't inherit the resolution strategy and other customizations from the original configuration. This does, and otherwise appears to behave exactly the same in testing.
This change lets projects make use of Gradle's custom dependency resolution rules such as substitutions or version overrides, as well as exclusions, allowing for much more streamlined multi-project workspaces and build environments.
As requested, this PR has been tested against the latest version of the MDK, and both upstream Forge and JEI.