mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[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:
committed by
intellij-monorepo-bot
parent
4bf1abd3ff
commit
656978cf71
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user