https://kotlinlang.org logo
#ktor
Title
# ktor
m

Mikołaj Kąkol

12/31/2019, 11:13 AM
is
io.ktor:ktor-client-auth
ready for native?
c

cy

12/31/2019, 3:45 PM
Yes, it is
m

Mikołaj Kąkol

12/31/2019, 3:47 PM
Darn, I was trying to get it working but IDE has seen Auth class but compiler failed to do so. Is there separate artifact that needs to be added to Gradle per platform?
c

cy

12/31/2019, 4:11 PM
JVM may require it since we don’t publush Gradle metadata for this platform
Native should work if the dependency is included to common
m

Mikołaj Kąkol

12/31/2019, 4:13 PM
I tried it common and to add dependency for every target without success.
In sources I found that Auth is in jvmSrc directory
If I recall correctly
n

napperley

12/31/2019, 9:32 PM
Which Kotlin Native targets are supported by the library?
The io.ktor:ktor-client library for example supports the Kotlin Native Linux targets.
3 Views