From e1889205f5306b95acc0ea8d1e3c0b4d3b79de56 Mon Sep 17 00:00:00 2001 From: asaarilahti Date: Fri, 23 Aug 2024 11:58:53 +0300 Subject: [PATCH] Add com.intellij.modules.json dependency. --- build.gradle.kts | 5 +++-- src/main/resources/META-INF/plugin.xml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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