Skip to content

Commit

Permalink
Add com.intellij.modules.json dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
asaarilahti committed Nov 13, 2024
1 parent 62b1aea commit e188920
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -74,6 +75,6 @@ tasks {

spotless {
java {
googleJavaFormat("1.16.0")
googleJavaFormat()
}
}
6 changes: 6 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
<name>Zalando OpenAPI Editor</name>
<vendor email="[email protected]" url="https://tech.zalando.com/">Zalando SE</vendor>

<!-- Module dependencies -->
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.json</depends> <!-- Bundled plugin starting from 2024.3 -->

<!-- Bundled plugin dependencies -->
<depends>com.intellij.java</depends>
<depends>org.jetbrains.plugins.yaml</depends>

<description><![CDATA[
Expand Down

0 comments on commit e188920

Please sign in to comment.