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

feat: Build with Automatic-Module-Name for compatibility with the Java module system. #1941

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

broneill
Copy link
Contributor

@broneill broneill commented Jan 6, 2024

I use the Java module system with my project, but JSQLParser doesn't use modules. As a result, I need to use the --add-reads ALL-UNNAMED hack in order to depend on it.

Building a project with the Automatic-Module-Name feature allows it to work with the module system, but without actually depending on the module system itself. This change makes it easier to integrate JSQLParser with projects that are using the Java module system.

I ran both the Maven and Gradle builds and verified that Automatic-Module-Name: net.sf.jsqlparser appears in the jar's MANIFEST.MF file.

@broneill broneill changed the title Build with Automatic-Module-Name for compatibility with the Java module system. feat: Build with Automatic-Module-Name for compatibility with the Java module system. Jan 6, 2024
@manticore-projects
Copy link
Contributor

It does not harm, I guess.

@manticore-projects manticore-projects merged commit 92e02c6 into JSQLParser:master Jan 6, 2024
3 checks passed
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