Detached configuration issue still exists in Gradle 2.13

Continuing the discussion from Unable to resolve detached configuration with ourself in it: It says the issue was resolved back in 2013, but I had the same problem using 2.13. And the workaround (aka ‘hack’) to temporarily rename the project group and rename it back fixed my problem.