Skip to content

Interoperability with Java Module System #83

Open
@scordio

Description

@scordio

I am developing a Java 17 application based on the Java Module System and I would like to use some of your libraries, specifically:

  • notion-sdk-jvm-core
  • notion-sdk-jvm-httpclient
  • notion-sdk-jvm-slf4j2

However, I've noticed such libraries have split packages, e.g.:

Unfortunately, this is forbidden by the module system and won't work at runtime.

Would you consider changing packages for the non-core modules? I understand this would be a breaking change for the users.

In addition, it would be nice to include a module descriptor in the libraries so that they are detected as named modules. I don't have direct experience with Kotlin in doing so but am happy to help figure out the way to go.

Also, it would be useful to include a module descriptor in your libraries so they are detected as named modules. I don't have direct experience with Kotlin doing this, but I'm happy to help figure out the way to go. As far as I can see, Kotlin introduced module system support in version 1.4-M3 (KT-21266), so the ecosystem is probably already mature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions