Open
Description
We in Kotlin Jupyter kernel use Maven resolver for libraries resolution. Maven POM for kotlinx.datetime
lacks any information of kotlinx-datetime-jvm
dependency: https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-datetime/0.3.1/kotlinx-datetime-0.3.1.pom.
So, when we import library like this:
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-datetime:0.3.1")
we end up with an almost empty JAR without .class
files, it only contains metadata files.
This fixes the issue:
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-datetime-jvm:0.3.1")
The problem will be solved if the runtime dependency on kotlinx-datetime-jvm
will be added to the POM file. I think, similar problem arises in Maven projects as well.