audax
07/16/2024, 10:29 AMimplementation project(":shared")
and I've also added the 2 libraries.
implementation("org.jetbrains.kotlinx:kotlinx-datetime:${project.kotlinxDatetime}")
implementation("com.ionspin.kotlin:bignum:${project.bignum}")
I've also tried to export the kotlin-mpp libraries by using the "api"-configuration instead of "implementation" in the shared module.
The monolith is Java only.
The error message in the IDE is:
Incompatible types. Found: 'kotlinx.datetime.LocalDate', required: 'kotlinx.datetime.LocalDate'
audax
07/16/2024, 10:48 AMaudax
07/16/2024, 10:48 AMCLOVIS
07/16/2024, 12:27 PMapi
.
If this exception happened in real code, I would point to classloader magic, maybe you have a framework that does weird things with it?
However, if it only happens in the IDE, there's a chance reindexing everything will solve itaudax
07/16/2024, 12:40 PMapi
and reindexing, even removing .idea
didn't help. 😞
The error is just in IntelliJ Idea, not when I run the test.CLOVIS
07/16/2024, 12:41 PMaudax
07/16/2024, 12:48 PMaudax
07/16/2024, 2:07 PM