If you have two projects with the same name (but different paths), Gradle allows the build but you cannot refer to each other
for example: Project 1: :consumer:impl Project 2: :producer:impl
if you have a compile time dependency in producer like:
It will not be on the classpath of producer. If you change the name so they are unique, they will be.
I cannot tell if this is specific to the java platform or not, and a work-around is to change the name, but if we are allowing projects with different paths and the same name, to have the java project fail like it does (no error, just missing from the classpath) is just… confusing.