-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
Jackson module descriptor implicitly depends on these modules:
requires java.desktoprequires java.loggingrequires java.sqlrequires java.xml
Can they become optional?
Describe the solution you'd like
Make these modules optional
requires static java.desktoprequires static java.loggingrequires static java.sqlrequires static java.xml
This may require some code changes, since making module optional means that module may not be present at runtime.
So code should check, if relevant classes are present.
Usage example
jlink and jpackage will produce smaller images. java.sql itself brings 10MB+ of dependencies, according to this google/gson#1707 (comment)
Metadata
Metadata
Assignees
Labels
No labels