Skip to content

Define manifest attribute Automatic-Module-Name#213

Merged
bp-alex merged 1 commit intolmdbjava:masterfrom
pedrolamarao:automatic-module
Mar 9, 2023
Merged

Define manifest attribute Automatic-Module-Name#213
bp-alex merged 1 commit intolmdbjava:masterfrom
pedrolamarao:automatic-module

Conversation

@pedrolamarao
Copy link
Contributor

@pedrolamarao pedrolamarao commented Feb 28, 2023

This change defines the manifest attribute Automatic-Module-Name, transforming the JAR into an automatic module with module name org.lmdbjava. This should be enough for other Java modules to be able to reference this. I have verified that this is the case by installing it to a local repository and referencing it from my own projects.

Please note that doing this has no impact on non modular applications, which will simply ignore the attribute, both on older and newer JDKs. This change is an easy first step towards module support.

@pedrolamarao pedrolamarao changed the title Define manifest attribute Automatic-Module-Name. Define manifest attribute Automatic-Module-Name Feb 28, 2023
@pedrolamarao
Copy link
Contributor Author

pedrolamarao commented Feb 28, 2023

Please consider this PR in the context of #42 and #208

@bp-alex bp-alex merged commit 860c827 into lmdbjava:master Mar 9, 2023
@bp-alex
Copy link
Member

bp-alex commented Mar 9, 2023

Thanks @pedrolamarao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants