Skip to content

Commit fb54edc

Browse files
committed
Update build gradle
1 parent a5f6a5f commit fb54edc

File tree

4 files changed

+366
-353
lines changed

4 files changed

+366
-353
lines changed

.idea/modules/prettify-python.test.iml

Lines changed: 177 additions & 174 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules/ru.meanmail.prettify-python.main.iml

Lines changed: 177 additions & 173 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@ intellij {
4646
project.properties["IdeVersion"].toString()
4747
}
4848
type = project.properties["ideType"].toString()
49-
if (type !in setOf("PY", "PC")) {
50-
setPlugins(project.properties["pythonPluginVersion"].toString())
51-
} else {
52-
setPlugins("PythonCore")
49+
when (type) {
50+
"PY" -> {
51+
setPlugins("python")
52+
}
53+
"PC" -> {
54+
setPlugins("PythonCore")
55+
}
56+
else -> {
57+
setPlugins(project.properties["pythonPluginVersion"].toString())
58+
}
5359
}
5460
}
5561

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginName=Prettify python
77
version=2020.3
88
postfix=211
99
# IDE
10-
eap=true
10+
eap=false
1111
IdeVersion=2021.1
1212
ideType=PC
13-
pythonPluginVersion=PythonCore:211.6085.26
13+
pythonPluginVersion=PythonCore:211.6693.119

0 commit comments

Comments
 (0)