Skip to content

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
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