Skip to content
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

Allow java modules to have NightConfig as a dependency (Automatic-Module-Name manifest attribute) #84

Merged

Conversation

m00nl1ght-dev
Copy link

At the moment, it's not possible to use NightConfig in a modular application.
This is because it does not provide a module-info.java file or the Automatic-Module-Name manifest entry.

This small PR just adds the Automatic-Module-Name manifest entry to the jar files to fix this problem.
Non-modular applications (for example in Java 8) will not be affected by this.
However it will allow modules (Java 9+) to have NightConfig as a dependency.

@TheElectronWill
Copy link
Owner

It's great that such a small change fixes the problem. Thanks for the PR!

@TheElectronWill TheElectronWill merged commit fa4f766 into TheElectronWill:stable-3.x Sep 25, 2020
TheElectronWill added a commit that referenced this pull request Aug 30, 2022
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.

None yet

2 participants