Type-safe project accessors are great, but the same issue here. The generated is fully Java, with poor readability. And when the name of the composite builds module is the same as that of the main project module, IDEA will prompt an error, but the project can still be successfully compiled.
See also gradle/gradle#24295.
Here is a reproduced example: https://github.com/Omico/gradle-typesafe-accessors-bug.
A prototype implementation can be found at https://github.com/Omico/Gradm/tree/type-safe-project-accessors.
Type-safe project accessors are great, but the same issue here. The generated is fully Java, with poor readability. And when the name of the composite builds module is the same as that of the main project module, IDEA will prompt an error, but the project can still be successfully compiled.
See also gradle/gradle#24295.
Here is a reproduced example: https://github.com/Omico/gradle-typesafe-accessors-bug.
A prototype implementation can be found at https://github.com/Omico/Gradm/tree/type-safe-project-accessors.