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

Victor Yakovlev

02/01/2022, 11:22 AM
How to use raw socket in common source set after update to 2.x version?
a

Aleksei Tirman [JB]

02/01/2022, 1:04 PM
There is a documentation topic about raw sockets for Ktor 2.0.0.
v

Victor Yakovlev

02/02/2022, 6:36 AM
After update to 2.0.0
io.ktor:ktor-network
not contains common source set. And when I tried use it Idea can’t import it.
a

Aleksei Tirman [JB]

02/02/2022, 7:48 AM
As far as I understand, you can apply the
io.ktor:ktor-network
dependency for an individual source set or combine your targets and use it for the group.
9 Views