-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Provide an Automatic-Module-Name #9376
Comments
Hi @pedrolamarao, |
Tools like Gradle will not place a JAR in the module path if that JAR does not contain module metadata. |
If there is no objection to this addition, I would gladly provide PRs for all required modules. |
@pedrolamarao By any chance, are you able to solve gRPC's module problem already (grpc/grpc-java#3522)? If so, would you share how you setup your project? We'd like to learn how people are using Java modules. |
We are currently using a trick where we split every affected module in two, the actual module depending on an "impl" automatic module. We define an |
Moving to googleapis/google-cloud-java |
Is your feature request related to a problem? Please describe.
It is currently not possible to create modular applications which depend on
google-cloud-kms
it is not module-ready.Describe the solution you'd like
Define an
Automatic-Module-Name
inMANIFEST.MF
to makegoogle-cloud-kms
module-ready.Describe alternatives you've considered
The only alternatives are giving up creating modular applications or repackaging
google-cloud-kms
to add the required metadata.Additional context
Providing
Automatic-Module-Name
has no impact on non-modular applications or applications targeting Java 8.The text was updated successfully, but these errors were encountered: