kotlinx-datetime:core uses transitive static when expressing kotlinx.serialization.core in its module-info.java. This results in a compilation error for library consumers who do not have kotlinx.serialization.core as a dependency, but are also supporting JPMS.
> Task :{project-name}:compileKotlinJvm FAILED
e: Module kotlinx.serialization.core cannot be found in the module graph
I believe dropping the key word transitive (because kotlinx.serialization.core is not defined in kotlinx-datetime:core as an api dependency) would fix the issue.