Description of the issue
Kotlin 2.4.0 was released on 2026-06-03: https://github.com/JetBrains/kotlin/releases/tag/v2.4.0.
Kotlin 2.4.0 does not support K1 and language level <1.9 anymore. The compiler api changed a lot.
IMHO CodeQL should use the (experimental) analysis api, the same api IntelliJ, dokka and detekt is using, because it is somehow more stable and CodeQL only reads the code. The current IR plugin is too low-level (and can change the code).
Error message: Kotlin version 2.4.0 is too recent. CodeQL currently supports versions below 2.3.30
Description of the issue
Kotlin 2.4.0 was released on 2026-06-03: https://github.com/JetBrains/kotlin/releases/tag/v2.4.0.
Kotlin 2.4.0 does not support K1 and language level <1.9 anymore. The compiler api changed a lot.
IMHO CodeQL should use the (experimental) analysis api, the same api IntelliJ, dokka and detekt is using, because it is somehow more stable and CodeQL only reads the code. The current IR plugin is too low-level (and can change the code).
Error message:
Kotlin version 2.4.0 is too recent. CodeQL currently supports versions below 2.3.30