Hey folks I am totally new to this stuff and am ba...
# multiplatform
d
Hey folks I am totally new to this stuff and am banging my head against an issue. in my
jvmMain
project I keep getting a unresolved reference to ktor's
HttpClient
class that exists in
commonMain
.
a
Did you add it as an
api
or an
implementation
dependency in your common project?
j
As Adam said maybe you missed to add the dependency, here in the Ktor web page explain this: https://ktor.io/clients/http-client/multiplatform.html
d
implementation
a
That's the problem, try it with
api
d
I'll try a that and report back my findings
Thanks Adam
a
👍
d
@addamsson That did the trick!
I read up on api vs implementation too
a
Nice 1 👍