-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
manifest entry
#223
Comments
Thank you for reporting an issue. See the wiki for documentation and slack for questions. |
I found an explanation how to do that here: https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular_auto |
oshai
added a commit
that referenced
this issue
Oct 29, 2022
oshai
added a commit
that referenced
this issue
Oct 29, 2022
Add in 3.0.3. please let me know if the issue is resolved. |
Looks to be good to go. Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Java 9 or above, in projects using JPMS modules, Maven will currently raise the following warning due to
kotlin-logging
not having theAutomatic-Module-Name
manifest entry:Would it be possible to push a release that has this MANIFEST entry set explicitly to avoid this issue? This reduces the likelihood of things breaking if build settings change between versions for those who are using Kotlin within a modular Java application.
I am not very savvy on Gradle, which is why I haven't put a PR up myself for this, but the Maven equivalent of this fix would be just specifying the following when producing the JAR:
or similar.
Thanks
The text was updated successfully, but these errors were encountered: