I'm getting a bunch of compilation errors on symbo...
# dokka
c
I'm getting a bunch of compilation errors on symbols from the standard library:
Copy code
e: file:///…/src/commonMain/kotlin/Parameters.kt:46:31 Unresolved reference: HashMap
e: file:///…/src/commonMain/kotlin/Parameters.kt:120:3 Unresolved reference: JvmInline
e: file:///…/commonMain/kotlin/Parameters.kt:141:4 Unresolved reference: require
e: file:///…/src/commonMain/kotlin/Parameters.kt:141:17 Unresolved reference: isNotBlank
Does anyone know what this could be caused by?
v
These errors are related to the compilation, not the documentation generating. Is your whole project successfully compiled? (e.g. the task
build
finishes without errors)
c
Yes
This is why I'm confused
I'm done for today, I'll try bisecting tomorrow to see exactly when it started.
a
this might be a Dokkatoo problem - sorry! sweating https://github.com/adamko-dev/dokkatoo/issues/165
c
Ah, I'll follow that issue. I don't use KSP though… The project I see this is in is open source, do you want me to add a few info on how to get it to the issue?
a
Yeah, just a few details to confirm it's the same problem would be helpful, thanks! It's not specifically KSP, it can happen in other situations too. It's a Gradle problem, because Gradle requires using attributes for sharing files, but Gradle will sometimes ignore the requested attributes, and then get confused and select the wrong variant. There's no reasonable way to fix it 🙄
c
Rereading the issue, I do not see any warnings about dependency resolution. I created another issue, don't hesitate to merge them if it is indeed the same problem.
👍 1