-
Notifications
You must be signed in to change notification settings - Fork 231
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
Add 'Automatic-Module-Name' property to aws-lambda-java-core MANIFEST.MF #142
Comments
Hi Jacob, Thanks for raising this issue. I think named will be important here, I'll throw out these ideas. A combination of the groupId and the key parts of the artifactId. com.amazonaws.lambda.core Thoughts? |
Mark, Thanks for the quick response. I agree with the names you've suggested. However, I'm not sure if it's recommended to suffix a module name with a digit ( |
I've done as PR using the following naming convention for module names: aws.lambda.core I'm happy to rename them to com.amazonaws.lambda.* instead of aws.lambda.* if required. |
all libraries in this repository compiled with java8
|
You can have automatic modules with java 8. module-info.java is the only thing java 9+ exclusive |
note that |
I said that, but there is a way to add a |
I'm in favour of using the moditect plugin over simply defining an automatic module name. Having a module-info is the better option. |
So how are we feeling? Do we plan to merge that PR? |
aws-lambda-java-core
's lack of anAutomatic-Module-Name
property in itsMETA-INF/MANIFEST.MF
is preventing me from modularizing my Java project.Attempting to require the automatic module in my
module-info.java
withrequires aws.lambda.java.core;
results in the following Gradle error:Environment:
The text was updated successfully, but these errors were encountered: