Skip to content

Commit 3c4f3f4

Browse files
committed
Update gradle build
1 parent c54337e commit 3c4f3f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ intellij {
3636
if (plugin.isEmpty()) {
3737
continue
3838
}
39-
if (plugin == "python") {
39+
val (name, version) = plugin.split(':')
40+
if (name == "python") {
4041
when (type.get()) {
4142
"PY" -> {
4243
plugins.add("python")
@@ -45,7 +46,7 @@ intellij {
4546
plugins.add("PythonCore")
4647
}
4748
else -> {
48-
plugins.add("PythonCore:${config("python")}")
49+
plugins.add("PythonCore:${version}")
4950
}
5051
}
5152
} else {

0 commit comments

Comments
 (0)