magnumrocha
11/05/2024, 9:40 PM> Task :konnection:kspTestKotlinIosArm64 FAILED
e: -api-version (2.0) cannot be greater than -language-version (1.9)
My build.gradle.kts file is like this:
plugins {
kotlin("multiplatform")
id("com.google.devtools.ksp") version "2.0.21-1.0.26"
}joffrey
11/05/2024, 11:03 PMlanguageVersion for Kotlin was bumped to 2.0 (and by ricochet, the apiVersion too, because its default is the value of languageVersion).
The KSP Gradle plugin apparently doesn't support language version 2.0 in your case. You can override the value in your module.yaml to bring back the old behavior:
settings:
kotlin:
languageVersion: 1.9
(by default, the apiVersion will be the same as the languageVersion, so 1.9 too)magnumrocha
11/06/2024, 8:27 AMjoffrey
11/06/2024, 8:49 AMjoffrey
11/08/2024, 2:20 PMBreaking changes section in the release notes, so people don't miss it:
https://github.com/JetBrains/amper/releases/tag/v0.5.0
Thanks again for the feedback / question!