Closed
Description
While I'm not an enthusiast of Java modularization, unfortunately Java libraries that aren't module-aware are increasingly being a source of compiler warnings as people migrate to newer JDKs.
It would help if dom4j set up an automatic module name in the Jar manifest, like:
Automatic-Module-Name: org.dom4j
I'm not familiar with gradle, but apparently the following would work:
jar {
manifest {
attributes('Automatic-Module-Name': 'org.dom4j')
}
}
Of course that a full module-info
would also be a good thing, but the above solution is simple and solves the main issue of having to rely on generated module names.
Metadata
Assignees
Labels
No labels