mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-04 07:34:03 +02:00
Do add a yaml module only for the latest snapshot
This commit is contained in:
parent
0cef0d3d9a
commit
693bb50d5e
@ -43,7 +43,22 @@ dependencies {
|
||||
testFramework(TestFrameworkType.Platform)
|
||||
testFramework(TestFrameworkType.JUnit5)
|
||||
bundledPlugins("com.intellij.java")
|
||||
bundledModule("intellij.yaml.editing") // Note: This should be "org.jetbrains.plugins.yaml" plugin instead of module
|
||||
|
||||
// [VERSION UPDATE] 2025.1+
|
||||
// Dirty hack: in 2025.1+ the yaml plugin is extracted. So, the tests that use YAML don't work.
|
||||
// This fixes the bug, but the proper fix should be provided by the gradle plugin
|
||||
// Internal information: https://jetbrains.slack.com/archives/C01F9VBU064/p1738921964822329
|
||||
when (ideaVersion) {
|
||||
"2024.2.1" -> {
|
||||
bundledPlugins("org.jetbrains.plugins.yaml")
|
||||
}
|
||||
|
||||
"LATEST-EAP-SNAPSHOT" -> {
|
||||
bundledModule("intellij.yaml.editing") // Note: This should be "org.jetbrains.plugins.yaml" plugin instead of module
|
||||
}
|
||||
|
||||
else -> error("Unsupported version: $ideaVersion")
|
||||
}
|
||||
instrumentationTools()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user