Hi, can I use kotlin 2.1.0 version? it only shows ...
# amper
g
Hi, can I use kotlin 2.1.0 version? it only shows 2.0
5050 1
j
Amper 0.5.0 uses the Kotlin 2.0.21 toolchain (and this is not customizable at the moment). Technically, even with this version of the compiler, you should be able to specify the
languageVersion
2.1. However, note that you wouldn't be using the 2.1.x compiler nor the 2.1.x standard library this way, it would just enable some preview language features from Kotlin 2.1. The missing entry in the auto-complete (and thus the error) are slightly misleading, though. I believe if you still write 2.1 it should work fine.
The next version of Amper will use the Kotlin 2.1.10 toolchain and stdlib (or maybe even Kotlin 2.1.20 depending on the timing). So it will provide real 2.1 support, please stay tuned! 🙂
🙌 1
g
ok
thanks for info