I'm getting "unresolved reference" on all these sy...
# multiplatform
a
I'm getting "unresolved reference" on all these symbols while trying to use ktor logging.
Copy code
import io.ktor.client.features.logging.DEFAULT
import io.ktor.client.features.logging.LogLevel.HEADERS
import io.ktor.client.features.logging.Logger
import io.ktor.client.features.logging.Logging
The Ktor itself is found an compiled. MPP sourceSets include
implementation "io.ktor:ktor-client-logging:$ktor_version"
. Invalidate Cache does not help. I'm on latest kotlin/ktor versions. Any ideas?
r
What sourceSet is failing to resolve? eg common or one of the platforms? Possibly you need to enable metadata or add platform-specific dependencies in addition to the common ones.
a
Thanks, I have inserted dependency on all sets, to be sure. 😕 Not compiling is common code. metadata enabled.