-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide module-info descriptor for java 9 and later #157
Comments
Yes, please do this! |
Hi @daniel-jasinski,
Your insights will be invaluable in guiding our decision-making process and ensuring that any enhancements align closely with the needs of our user community. |
Hi, |
@qurbonzoda The development experience without a module descriptor can be quite frustrating, for example, in IDEA: But, from Gradle:
This is probably either originating from a
Any scenario where the developer is using KotlinX Immutable Collections and wishes to distribute or package their own library or application with JPMS. Without the module descriptor in this library, the author has these choices:
This is, unfortunately, the JPMS hand dealt to all of us by Oracle. Because of all the reasons above, KotlinX Serialization builds with a Edit: For anyone running into this issue in IDEs, you can suppress with: @Suppress("JAVA_MODULE_DOES_NOT_DEPEND_ON_MODULE") |
@sgammon, thank you for your elaborate answer. We will aim to include module-info in our upcoming releases. |
@qurbonzoda you can probably take a look at https://github.com/Kotlin/kotlinx.coroutines/blob/master/buildSrc/src/main/kotlin/Java9Modularity.kt to save an effort |
@qwwdfsad / cc @qurbonzoda I've posted a PR which uses |
It would be great if this library was provided as a multi-release jar with module-info.class descriptor, so that it could be part of the Java module system.
The text was updated successfully, but these errors were encountered: