Skip to content

module-info.java #437

@hathiphant

Description

@hathiphant

Given that version 2.0.0 require Java 17, it would be useful to add a module-info.java for better compatibility.

By example, running OpenJDK tool jdeps, it suggests the following content for it. I don't know the preferred package name, because something like com.apicatalog.jsonld will probably be preferable for coherency with package name. I don't know also if all packages are public (to be exported) or if some are internals (not exported as implementation details).

Thanks,
Hathi.


module titanium.json.ld {
    requires java.logging;
    requires titanium.jcs;

    requires transitive java.net.http;
    requires transitive titanium.rdf.api;
    requires transitive tree.io.api;

    exports com.apicatalog.jsonld;
    exports com.apicatalog.jsonld.compaction;
    exports com.apicatalog.jsonld.context;
    exports com.apicatalog.jsonld.expansion;
    exports com.apicatalog.jsonld.flattening;
    exports com.apicatalog.jsonld.framing;
    exports com.apicatalog.jsonld.fromrdf;
    exports com.apicatalog.jsonld.lang;
    exports com.apicatalog.jsonld.loader;
    exports com.apicatalog.jsonld.processor;
    exports com.apicatalog.jsonld.tordf;
    exports com.apicatalog.web.http;
    exports com.apicatalog.web.lang;
    exports com.apicatalog.web.link;
    exports com.apicatalog.web.media;
    exports com.apicatalog.web.uri;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions