We should change the Kotlin language version to 1.7, see here. Doing this allows us to upgrade to Kotlin 1.9 within the 6.0.x timeline.