.
I doubt we want to move forward with a switch to turn off the feature from command-line. However, I think the real issue, where Gradle doesn't detect ambiguous name in certain scenarios, is definitely something we want to fix. I think the issue is well scoped for a
contribution if you want to help in creating a PR that we can review.