Hi all, I’m trying to use ktor 2.0.0-beta-1 to bui...
# ktor
c
Hi all, I’m trying to use ktor 2.0.0-beta-1 to build a native server targeting Linux and Macos. All seems to work well until I try to include
ktor-server-content-negotiation
, then Gradle tells me
No matching variant of io.ktor:ktor-server-content-negotiation:2.0.0-beta-1 was found
. Looking at Maven Central, there doesn’t seem to be native versions of this library. Am I missing something?
a
The
ContentNegotiation
plugin doesn't support native targets yet.
c
Thanks, that was what I guessed. I’ve copied the ContentNegotiation class into my project for now. Is it planned for the final 2.0.0 release?
a
@e5l
e
Yep, it's planned 🙂
c
👌