I cannot wrap my head around ```Unresolved referen...
# squarelibraries
p
I cannot wrap my head around
Copy code
Unresolved reference 'NodeJsFileSystem'.
seeing it in fix(deps): update dependency com.squareup.okio:okio-bom to v3.10.1. According to the release notes:
okio-nodefilesystem
is no longer publised as a JS project, but a Kotlin multiplatform project with only a JS target. This change should not affect consumers in any way, and is motivated by the Kotlin Gradle plugin deprecating the JS-only plugin.
yet one consumer is affected 🙂 I just don't understand how yet - what am I missing? I just use the class here
j
Ugh
I see the problem đŸ€Šâ€â™‚ïž
p
wrong dir names?
commonMain
and
commonTest
?
j
nod
👌 1
give me like an hour
p
no problem, not urgent at all
happy that we found the cause
posted an idea for a feature that would prevent this issue: [KT-74305] Warn if other non-empty dirs on source set level exist
j
I definitely use sibling dirs for things like languages built outside of Gradle. I was thinking maybe a main compilation should fail-by-default if there are no input sources (but test compilation should not).
p
makes sense! feel free to comment under the ticket
r
Kotlin Native does fail with no sources afaik, but other targets allow it.
j
.2 is up
Another Renovate barrage incoming
p
Thanks, works!
Kotlin Native does fail with no sources afaik, but other targets allow it.
just tried it on an empty project, got
> Task :compileKotlinMacosArm64 NO-SOURCE
which is expected from Gradle's PoV