Skip to content

Commit

Permalink
fix: 1) Workaround for plugin dependencies issues when using PY-2022.…
Browse files Browse the repository at this point in the history
  • Loading branch information
iromeo committed May 4, 2022
1 parent 2fff3a3 commit b800660
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
// This plugin allows you to build plugins for IntelliJ platform using specific
// IntelliJ SDK and bundled plugins.
id("org.jetbrains.intellij") version "1.5.2"
id("org.jetbrains.intellij") version "1.5.3"
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
id("org.jetbrains.changelog") version "1.3.1"
}
Expand Down Expand Up @@ -57,7 +57,11 @@ intellij {
val platformPlugins = ArrayList<String>()
when (platformType) {
"PC" -> platformPlugins.add("python-ce")
"PY", "PD" -> platformPlugins.add("python")
"PY", "PD" -> {
platformPlugins.add("python")
// Workaround: https://youtrack.jetbrains.com/issue/PY-51535/PluginException-when-using-Python-Plugin-213-x-version#focus=Comments-27-5439344.0-0
platformPlugins.add("com.intellij.platform.images")
}
else -> platformPlugins.add(properties("pythonPlugin"))
}
platformPlugins.addAll(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pluginBuildCounter=SNAPSHOT
#######################################################################################################################
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 213
pluginSinceBuild = 221
pluginUntilBuild = 221.*

# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
Expand Down

0 comments on commit b800660

Please sign in to comment.