we can set the language version in amper but how t...
# amper
j
we can set the language version in amper but how to set the compiler version? for example, how do i make it use the kotlin 2 beta compiler?
z
With Amper you're on Kotlin 1.9.20 (as described here), so setting the language version to
2.0
is the way to try K2: https://kotlinlang.org/docs/whatsnew1920.html#how-to-enable-the-kotlin-k2-compiler So in Amper:
Copy code
settings:
  kotlin:
      languageVersion: 2.0
j
yeah i checked that it was on 1.9.20 but are there no plans to support switching versions anytime soon? 2.0 is a big milestone so i would have hoped for it to get supported asap. [i really dislike gradle and can't wait to get away from it. although my problem is with with the gradle backend as well not just the frontend]