Gradm icon indicating copy to clipboard operation
Gradm copied to clipboard

Type-safe project accessors substitution

Open Omico opened this issue 2 years ago • 0 comments

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 https://github.com/gradle/gradle/issues/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.

Omico avatar Jan 16 '23 01:01 Omico