aleksey.tomin
06/15/2020, 7:34 AMval kotlinVersion = "1.4-M2"
val ktorVersion = "1.3.2-1.4-M2"
sourceSets {
commonMain {
dependencies {
implementation(kotlin("stdlib-common"))
implementation("io.ktor:ktor-client-core:${ktorVersion}")
}. }. }
I have error e: Could not find "io.ktor:ktor-io-cinterop-bits" in [/Users/atomin/Documents/iq/xpoint-sdk, /Users/atomin/.konan/klib, /Users/atomin/.konan/kotlin-native-prebuilt-macos-1.4-M2/klib/common, /Users/atomin/.konan/kotlin-native-prebuilt-macos-1.4-M2/klib/platform/macos_x64].
I try to add
val macosMain by getting {
dependencies {
implementation("io.ktor:ktor-client-core:${ktorVersion}")
}
}
but nothing was changed.
I try to fix something like https://github.com/ktorio/ktor/issues/943
macosX64("macos") {
binaries.all {
linkerOpts = mutableListOf("-L/usr/local/opt/curl/lib", "-I/usr/local/opt/curl/include/curl", "-lcurl")
}
}
but error still active.
$ ls /usr/local/opt/curl/lib
libcurl.4.dylib libcurl.a libcurl.dylib pkgconfig
$ ls /usr/local/opt/curl/include/curl
curl.h curlver.h easy.h mprintf.h multi.h stdcheaders.h system.h typecheck-gcc.h urlapi.h
e5l
06/15/2020, 7:37 AMktor
dependencies strings from your build.gradle
aleksey.tomin
06/15/2020, 8:11 AM$ ./gradlew --version
Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
------------------------------------------------------------
Gradle 6.5
------------------------------------------------------------
Build time: 2020-06-02 20:46:21 UTC
Revision: a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4
Kotlin: 1.3.72
Groovy: 2.5.11
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 14 (Oracle Corporation 14+36-1461)
OS: Mac OS X 10.15.5 x86_64
e5l
06/15/2020, 8:12 AM6.3
, I'm not sure if that could be a problem. @h0tk3yaleksey.tomin
06/15/2020, 8:12 AMrepositories {
mavenCentral()
jcenter()
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
maven("<https://kotlin.bintray.com/ktor>")
maven("<https://kotlin.bintray.com/kotlinx>")
}
...
val ktorVersion = "1.3.2-1.4-M2"
...
implementation("io.ktor:ktor-client-core:${ktorVersion}")
e5l
06/15/2020, 8:23 AM6.3
for now?aleksey.tomin
06/15/2020, 8:26 AM