Skip to content

Possible to add a module-info.java for improved JPMS support? #365

Description

@RefuX

I ran
jdeps --generate-module-info . --module-path libs/ --multi-release 9 --ignore-missing-deps kotlin-logging-jvm-5.1.0.jar

and got META-INF\versions\9\module-info.java

module io.github.oshai.kotlinlogging {
    requires kotlinx.coroutines.core;

    requires transitive java.logging;
    requires transitive kotlin.stdlib;
    requires transitive org.slf4j;

    exports io.github.oshai.kotlinlogging;
    exports io.github.oshai.kotlinlogging.coroutines;
    exports io.github.oshai.kotlinlogging.internal;
    exports io.github.oshai.kotlinlogging.jul.internal;
    exports io.github.oshai.kotlinlogging.slf4j;
    exports io.github.oshai.kotlinlogging.slf4j.internal;
}

Of course I'm sure you'd want to tweak the file, but just to give you an example.

This would enable me to use your project, thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions