Files
openide/plugins/kotlin/project-configuration
Roman Efremov 780ef676df [Kotlin] Remove the enforcement of API version to be <= language version
...when configuring facet.

This coercion interferes with a temporary Gradle configuration of Kotlin stdlib
with AV=2.0, LV=1.9 and -X suppress flag, which is needed for KT-63712.

One possible solution could be to disable enforcement only when compiler flag
`-Xsuppress-api-version-greater-than-language-version-error` is present.
But instead, I decided to remove this enforcement at all because:

1. I think IDE Plugin shouldn't duplicate all the peculiarities and checks
of arguments parsing done by Compiler.
2. It's a bit unexpected that API version is silently overridden.
3. Enforcement was originally introduced in KTIJ-9141 to fix API version
resetting to 1.0, but this problem doesn't occur anymore.

^KT-63712

(cherry picked from commit 09f123f5334c0d5f346419fe1aba9ebf0c4a8f00)

IJ-MR-126637

GitOrigin-RevId: f60741f7510a6c12eb0838f8f401065210feb2e7
2024-02-27 16:34:04 +00:00
..