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

[Maybe] Give error if a project without 'api' has 'requires transitive' entries #46

Open
jjohannes opened this issue Aug 15, 2023 · 0 comments

Comments

@jjohannes
Copy link
Member

jjohannes commented Aug 15, 2023

For example, if the src/main/module-info.java of an application project contains requires transitive ...; entries.

Right now, these entries are silently ignored.

Note: Not sure how to solve this yet. The dependencies are lazily created for each configuration (scope). The scopes do not know about each other and there is no central place where all scopes are known. If one scope does not exist, there is simply no one reading the corresponding requires. This would need some kind of extra check mechanism.

@jjohannes jjohannes changed the title Give error if a project without 'api' has 'requires transitive' entries [Maybe] Give error if a project without 'api' has 'requires transitive' entries Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant