Hi, it seems that ktor are trying to use Kotlin v1...
# ktor
a
Hi, it seems that ktor are trying to use Kotlin v1.7 (according to
libs.versions.toml
), but actually it's still using Kotlin v1.6.21 due to
buildSrc
.(https://github.com/ktorio/ktor/blob/afeb5ce05af162ac2073952208d28d74cf06c3fd/buildSrc/build.gradle.kts#L25-L26
h
Do you mean the println during build? I also noticed it and I don’t think this is expected, if it really uses 1.6.21. But if this always use 1.6.21, what about the train builds? 🤔
a
I don't know anything about the train builds. But When I was trying to write a js impl for
ktor-network
module, it failed to use [node warppers](https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-node) that requires a newer
stdlib-js
(incompatible with older JS-IR complier) . I believe at least some modules are complied under Kotlin v1.6.21
Unfortunately when I was trying to upgradle these compile-time dependencies,
kotlin-dsl
plugin didn't work due to incompatibility. After I specify
kotlin-gradle-plugin
as v1.7.10 and
kotlin-dsl
as v3.1.0, it gets worked. (But of course there are a lot of warnings, eg. always using the
kotlin-dsl
bundled in gradle && a mismatch version of kotlin is used && etc)