Skip to content

Commit

Permalink
Update gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
meanmail committed Nov 28, 2021
1 parent c54337e commit 3c4f3f4
Showing 1 changed file with 3 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 @@ -36,7 +36,8 @@ intellij {
if (plugin.isEmpty()) {
continue
}
if (plugin == "python") {
val (name, version) = plugin.split(':')
if (name == "python") {
when (type.get()) {
"PY" -> {
plugins.add("python")
Expand All @@ -45,7 +46,7 @@ intellij {
plugins.add("PythonCore")
}
else -> {
plugins.add("PythonCore:${config("python")}")
plugins.add("PythonCore:${version}")
}
}
} else {
Expand Down

0 comments on commit 3c4f3f4

Please sign in to comment.