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
JPMS compatibility #7
Comments
I haven't really tried looking at jdk versions after 8 (including java 9 modules). I'll have a look at trying to reorganize the packages to remove package name sharing. |
One of the issues is that there is not really a good path to (jigsaw) modular with multiplatform Kotlin. I may come up with a hack that will do so anyway, but it will be tricky (also due to output directories etc). I've added module name attributes in the manifest though (that's easy) and attempted to make all packages unique. |
There are jpms-compatible stdlib artifacts. They go with As far, as I understand, you do not need to add a module manifest to make project work with jpms. You can use default module. The only thing you need to fix is to remove same package names in separate modules. |
The current head should not have any issues with modular package names anymore. I will wait until kotlin 1.3.40 to make a proper modular version as that version has |
This should be resolved with the 0.11.1.1 release. In addition there is the jigsaw branch that should be properly modular, but may create all kinds of issues due to having multiple jvm artifacts (one targeting jdk8, another targeting jdk9) |
@altavir I've added hopefully proper support in the moduleInfo branch. It would be good if you could check that it is correct. |
Currently I can't use the serialization plugin in jlink due to split package problem. It could be fixed by package renaming.
The text was updated successfully, but these errors were encountered: