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

ByFloRedstone

05/27/2021, 7:17 AM
Hey i want to create a web application with ktor 1.5.4. But what JDK is the best? Can i use the Latest? Is kotlin 1.5.1 compatible or do I have to use the 1.4.3?
s

samuele794

05/27/2021, 7:20 AM
you can use latest, for my project i'm use JDK 14 with compile target 12
b

ByFloRedstone

05/27/2021, 7:27 AM
And which JRE do you use?
s

samuele794

05/27/2021, 7:37 AM
I have not currently released the project on production (only for hobby)
b

ByFloRedstone

05/27/2021, 7:40 AM
Ok thank you
Do you know if Kotlin 1.5.x works with ktor 1.5.4?
s

samuele794

05/27/2021, 7:42 AM
i think yes, i use Ktor 1.5.3 with Kotlin 1.5.0
r

rnett

05/27/2021, 8:32 AM
Ktor doesn't use it yet unless you use EAP, but it will work mostly fine if you use it. The only issue I'm aware of is https://youtrack.jetbrains.com/issue/KT-46340
b

Brian G

05/27/2021, 11:03 AM
FYI, Ktor is not updated for Kotlin 1.5.0 yet. It's working for me with Kotlin/JVM 1.5.0, it's not working on Kotlin/JS 1.5.0 though (Apparently some JS-specific things were renamed in Kotlin 1.5.0).
They said Kotlin 1.5.0 update should be out this week-ish
2 Views