Hello! I’m struggling to add a dependency to `io.k...
# ktor
n
Hello! I’m struggling to add a dependency to
io.ktor:ktor-server-core
. This is what I get:
Copy code
<ij_msg_gr>Gradle import errors<ij_msg_gr><ij_nav>/Users/xlebnick/projects/SharedLogic/MyProject/build.gradle.kts<ij_nav><i><b>project ':MyProject': Unable to build Kotlin project configuration</b><eol>Details: java.lang.reflect.InvocationTargetException: null<eol>Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':MyProject:iosArm64CompileKlibraries'.<eol>Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find ktor-server-core-1.4.1-samplessources.jar (io.ktor:ktor-server-core:1.4.1).<eol>Searched in the following locations:<eol>    <https://plugins.gradle.org/m2/io/ktor/ktor-server-core/1.4.1/ktor-server-core-1.4.1-samplessources.jar></i>
I have had other Ktor dependencies before trying that, and there was no such error. Example of previous dependencies: • io.ktor:ktor-client-mock • io.ktor:ktor-client-core • io.ktor:ktor-client-json Am I doing something wrong?