Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type-safe project accessors substitution #45

Open
Omico opened this issue Jan 16, 2023 · 0 comments
Open

Type-safe project accessors substitution #45

Omico opened this issue Jan 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Omico
Copy link
Owner

Omico commented Jan 16, 2023

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.

@Omico Omico added this to Gradm Jan 16, 2023
@Omico Omico converted this from a draft issue Jan 16, 2023
@Omico Omico added the enhancement New feature or request label Jan 16, 2023
@Omico Omico self-assigned this Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant