Alex Styl
06/05/2025, 4:57 PM./gradlew compileKotlinJs
gives me Unresolved reference 'io'
import io.ktor.client.HttpClient
import io.ktor.client.request.header
import <http://io.ktor.client.request.post|io.ktor.client.request.post>
dependencies in 🧵Alex Styl
06/05/2025, 4:57 PMval commonMain by getting {
dependencies {
val ktorVersion = "3.1.2"
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
}
}
Alex Styl
06/05/2025, 5:05 PM2.1.20
seems like it did something and fixed it. this is definitely NOT about the version of kotlin though, because changing it back to 2.0.0 still works.
🤷CLOVIS
06/06/2025, 9:13 AMAlex Styl
06/06/2025, 9:22 AM