Skip to content

Commit 39a50c4

Browse files
committed
Add com.intellij.modules.json dependency.
1 parent 62b1aea commit 39a50c4

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ plugins {
1616

1717
intellij {
1818
//Bundled plugin dependencies
19-
plugins.set(listOf("yaml", "com.intellij.java", "org.jetbrains.plugins.yaml"))
19+
// "com.intellij.modules.json" to be added when minimum required version is at least 2024.3
20+
plugins.set(listOf("com.intellij.java", "org.jetbrains.plugins.yaml"))
2021
pluginName.set("intellij-swagger")
2122
version.set("2022.3") // Recommended to use the lowest supported version to compile against
2223
}
@@ -74,6 +75,6 @@ tasks {
7475

7576
spotless {
7677
java {
77-
googleJavaFormat("1.16.0")
78+
googleJavaFormat()
7879
}
7980
}

src/main/resources/META-INF/plugin.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
<name>Zalando OpenAPI Editor</name>
44
<vendor email="sebastian.monte@zalando.de" url="https://tech.zalando.com/">Zalando SE</vendor>
55

6+
<!-- Module dependencies -->
7+
<depends>com.intellij.modules.platform</depends>
68
<depends>com.intellij.modules.lang</depends>
9+
<depends>com.intellij.modules.json</depends> <!-- Bundled plugin starting from 2024.3 -->
10+
11+
<!-- Bundled plugin dependencies -->
12+
<depends>com.intellij.java</depends>
713
<depends>org.jetbrains.plugins.yaml</depends>
814

915
<description><![CDATA[

0 commit comments

Comments
 (0)