Anyone here use `ktor-client-curl` in their projec...
# kotlin-native
e
Anyone here use
ktor-client-curl
in their project? I’m running into linker issues, and would like to compare notes / build scripts. (Keeping it short since I posted a long description in the #ktor channel, with no answers for now.)
j
I've got a rather simple project that uses it.
repositories {
mavenCentral()
maven("<https://plugins.gradle.org/m2/>")
maven("<https://dl.bintray.com/kotlin/kotlin-dev>")
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
maven("<https://kotlin.bintray.com/kotlinx>")
maven("<https://dl.bintray.com/kotlin/ktor>")
jcenter()
}
plugins {
kotlin("multiplatform") version "1.3.61"
}
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.3.2-1.3.60")
implementation("com.soywiz.korlibs.klock:klock:1.8.6") // Common
implementation("com.benasher44:uuid:0.0.7") // Common
implementation("io.ktor:ktor-server-netty:1.3.0")
implementation("io.ktor:ktor-client-curl:1.3.0")
}
}
That's how the build.gradle.kts file starts...
e
cool, and is that also used with native mac binary targets? (think command line executable)
my problems start when I try to import the native mac dependencies. it’s a bit tricky looks like
[ah I see you also had other hints for me over in #ktor, I’ll follow up there]