Piotr Krzemiński
12/31/2024, 1:44 PM-language-version version
or -api-version version
seems to be the right parameter. More context is in this issue: Kotlin version mismatch possible when using bindings from server .
TL;DR: there's a server that vends JARs with compiled Kotlin, and the consumers of these JARs may be arbitrarily old. The compiler does fail with a clear error message, but I'm wondering if it's possible to make it work despite the version discrepancy. Obviously we could downgrade the compiler, but I'd like to know if it's possible to use the latest version to benefit from various improvements, similarly to the Java compiler being able to produce .class files understandable by older Javas (-Xjdk-release
)dmitriy.novozhilov
12/31/2024, 4:46 PMmbonnin
01/01/2025, 2:30 PMPiotr Krzemiński
01/02/2025, 7:57 AM