https://kotlinlang.org logo
Title
t

Thomas

03/22/2019, 2:19 PM
Is there a version of Ktor available which is compatible with Kotlin 1.3.30-eap-45? I'm getting the following exception:
Exception in thread "main" java.lang.IllegalStateException: Could not find "/Users/thomas/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosx64/1.2.0-alpha-2/e8b5c84525df9fda3ad1e17b950fb2ebb65f4e9d/ktor-client-ios.klib" in [/Users/thomas/AndroidStudioProjects/MyProject/common, /Users/thomas/.konan/klib, /Users/thomas/.konan/kotlin-native-macos-1.2-eap-8554/klib/common, /Users/thomas/.konan/kotlin-native-macos-1.2-eap-8554/klib/platform/ios_x64].
	at org.jetbrains.kotlin.konan.library.KonanLibraryProperResolver.resolve(SearchPathResolver.kt:194)
	at org.jetbrains.kotlin.konan.library.SearchPathResolver$DefaultImpls.resolve$default(SearchPathResolver.kt:18)
	at org.jetbrains.kotlin.konan.library.resolver.impl.KonanLibraryResolverImpl$findLibraries$userProvidedLibraries$1.invoke(KonanLibraryResolverImpl.kt:49)
	at org.jetbrains.kotlin.konan.library.resolver.impl.KonanLibraryResolverImpl$findLibraries$userProvidedLibraries$1.invoke(KonanLibraryResolverImpl.kt:24)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:172)
	at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:698)
	at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:728)
	at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:719)
	at org.jetbrains.kotlin.konan.library.resolver.impl.KonanLibraryResolverImpl.findLibraries(KonanLibraryResolverImpl.kt:50)
	at org.jetbrains.kotlin.konan.library.resolver.impl.KonanLibraryResolverImpl.resolveWithDependencies(KonanLibraryResolverImpl.kt:32)
	at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:53)
	at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:18)
c

cy

03/22/2019, 2:41 PM
Unfortunately, no: we have publication issues in ktor so we are unable to publish for now
Most likely we'll publish with the next upcoming EAP
t

Thomas

03/22/2019, 5:10 PM
OK I understand, thanks for your reply.
j

judrummer

03/25/2019, 1:43 PM
@cy Is there any temporary solution to use kotlin 1.3.30eap with ktor for now?
I need to use this version because i met the same problem as https://kotlinlang.slack.com/archives/C3PQML5NU/p1551714138062100
c

cy

03/25/2019, 1:44 PM
Not yet, only the next eap will be published
j

judrummer

03/25/2019, 2:57 PM
ok thx
j

Jonas Bark

03/25/2019, 7:01 PM
You always have the possibility to check out the ktor repository and run the "publishToLocalMaven" gradle tasks and reference that version. Ktor already has a branch that uses the newest EAP.