Skip to content

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

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

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