Hi. I've recently moved a KMP projecto to kotlin 2...
# multiplatform
f
Hi. I've recently moved a KMP projecto to kotlin 2.0 and I'm having the following problem: • A build from the current folder works without errors -
./gradlew check
• A build from a nested folder produces the following errors -
../../../gradlew -p ../../.. assemble
Copy code
> Task :<module-name>:compileProductionLibraryKotlinJs FAILED
e: KLIB resolver: Could not find "org.jetbrains.kotlinx:kotlinx-serialization-core" in [/Users/pedro/Library/Application Support/kotlin/daemon]
youtrack 1
The problem seems to be on the
check
vs
assemble
and not not he fact that it is a nested folder. •
./gradlew check
works. •
./gradlew assemble
fails with the
e: KLIB resolver:
error.
a
Hi, please make an issue https://kotl.in/issue
f
It's may be related to how the module is setup. This error only occurs on a module that does not depends on kotlin serialization.