[kotlin] switch back to K1 in the 243 release

Everything works in the scenario where the user has never switched the "enable K2 mode flag." In this case, our default is used. If one had touched it (for example, turned K2 on and then off again), then our default will be ignored, and the user will keep the K2 mode.

^KTIJ-31684 fixed


(cherry picked from commit e12fda4b920eb64a79cd07ff10001d0f64b3531b)

IJ-MR-147132

GitOrigin-RevId: 1a940756c8b3e33ee013fb639cf02453d14ba907
This commit is contained in:
Ilya Kirillov
2024-10-18 10:49:58 +02:00
committed by intellij-monorepo-bot
parent 4bf1abd3ff
commit 656978cf71
2 changed files with 1 additions and 1 deletions

View File

@@ -78,7 +78,6 @@ open class IdeaCommunityProperties(private val communityHomeDir: Path) : BaseIde
buildDocAuthoringAssets = true
qodanaProductProperties = QodanaProductProperties("QDJVMC", "Qodana Community for JVM")
enableKotlinPluginK2ByDefault()
}
override suspend fun copyAdditionalFiles(context: BuildContext, targetDir: Path) {

View File

@@ -71,6 +71,7 @@ abstract class JetBrainsProductProperties : ProductProperties() {
* see KTIJ-30761
* @see org.jetbrains.intellij.build.sharedIndexes.PreSharedIndexesGenerator
*/
@Suppress("unused")
protected fun enableKotlinPluginK2ByDefault() {
additionalVmOptions += "-Didea.kotlin.plugin.use.k2=true"
}