oh, funny gradle stuff
that was probably bc you depended on something else that transitively depended on a different version of something from ktor
adding the -jvm won't fix that, though
gradle can be a little funky sometimes
doing a build scan or printing the dependencies can often times help find the cause of that