https://kotlinlang.org logo
#ktor
Title
# ktor
t

Thomas

04/23/2019, 10:04 AM
Is there a way to use Ktor 1.2.0 alpha with Kotlin 1.3.30? Could you make a new release with 1.3.30 support?
e

e5l

04/23/2019, 11:02 AM
Hi @Thomas, latest
1.2.0-alpha
is using
1.3.30
EAP, and it should be compatible.
t

Thomas

04/23/2019, 11:39 AM
@e5l thanks, I tried Ktor version
1.2.0-alpha-2
but I got the following error: https://gist.github.com/Thomas-Vos/093b597bea822832601ca6381a4b049d I don’t get the error when using Ktor
1.1.4
, so it looks like there is a difference between the two versions.
👀 1
e

e5l

04/23/2019, 11:41 AM
Could you check
1.2.0-alpha-1.3.0-eap-125
?
t

Thomas

04/23/2019, 11:45 AM
@e5l with that version I get a different error: https://gist.github.com/Thomas-Vos/cd3de5ea05f63abb3d4332aa43ba995d
v

Vsevolod Tolstopyatov [JB]

04/23/2019, 1:19 PM
could you please specify coroutines dependency explicitly in your project with version
1.2.0
and tell us if that helps?
t

Thomas

04/23/2019, 2:35 PM
@Vsevolod Tolstopyatov [JB] I already have a dependency for coroutines 1.2.0 in my module build.gradle.kts: In commonMain:
org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.2.0
In iOSMain:
org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.2.0
FYI I have no issues with Ktor 1.1.4, I only get these errors when trying to add the Ktor 1.2.0 alpha version