diff --git a/build.gradle.kts b/build.gradle.kts
index 012f2319..76dde2c1 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -16,7 +16,8 @@ plugins {
intellij {
//Bundled plugin dependencies
- plugins.set(listOf("yaml", "com.intellij.java", "org.jetbrains.plugins.yaml"))
+ // "com.intellij.modules.json" to be added when minimum required version is at least 2024.3
+ plugins.set(listOf("com.intellij.java", "org.jetbrains.plugins.yaml"))
pluginName.set("intellij-swagger")
version.set("2022.3") // Recommended to use the lowest supported version to compile against
}
@@ -74,6 +75,6 @@ tasks {
spotless {
java {
- googleJavaFormat("1.16.0")
+ googleJavaFormat()
}
}
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 355bdbd0..09a65e03 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -3,7 +3,13 @@
Zalando OpenAPI Editor
Zalando SE
+
+ com.intellij.modules.platform
com.intellij.modules.lang
+ com.intellij.modules.json
+
+
+ com.intellij.java
org.jetbrains.plugins.yaml