[devkit] IJPL-229376: Fix: The Properties plugin is wrongly included in the IDE Plugin module builder

GitOrigin-RevId: 4b4c79c6401c75e0ad5295ed7f258f01d5b3084f
This commit is contained in:
Karol Lewandowski
2026-01-15 18:36:57 +00:00
committed by intellij-monorepo-bot
parent 18177de320
commit 084b2739aa
2 changed files with 15 additions and 3 deletions
@@ -46,8 +46,8 @@ dependencies {
#if ($context.hasLibrary("yaml"))
bundledPlugin("org.jetbrains.plugins.yaml")
#end
#if ($context.hasLibrary("com.intellij.properties"))
bundledPlugin("org.jetbrains.plugins.yaml")
#if ($context.hasLibrary("properties"))
bundledPlugin("com.intellij.properties")
#end
#if ($context.hasLibrary("markdown"))
bundledPlugin("org.intellij.plugins.markdown")
@@ -1,4 +1,4 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.idea.devkit.module
import com.intellij.ide.starters.local.StarterModuleBuilder.Companion.setupTestModule
@@ -216,6 +216,18 @@ class IdePluginModuleBuilderTest : LightJavaCodeInsightFixtureTestCase4(JAVA_21)
)
}
@Test
fun pluginPropertiesDependencies() {
genModuleWithDependencies("properties")
fixture.configureFromTempProjectFile("build.gradle.kts")
assertBuildGradlePlugins("com.intellij.properties")
assertPluginXmlDependencies(
"com.intellij.properties"
)
}
@Test
fun themeProject() {
val builder = IdePluginModuleBuilder()