Skip to content

Commit 9d1d769

Browse files
authored
Proper IntelliJ version constraints (#817)
1 parent 00797a7 commit 9d1d769

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

utbot-intellij/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ dependencies {
4444

4545
// See https://github.com/JetBrains/gradle-intellij-plugin/
4646
intellij {
47-
version = "2021.2"
47+
// https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#intellij-platform-based-products-of-recent-ide-versions
48+
// https://confluence.jetbrains.com/display/IDEADEV/IDEA+2021.2+latest+builds
49+
version = "212.5712.43"
4850
type = "IC"
4951
plugins = ['java',
5052
// TODO: SAT-1539 - specify version of android plugin to be supported by our kotlin version.
@@ -53,7 +55,8 @@ intellij {
5355
'org.jetbrains.android']
5456

5557
patchPluginXml {
56-
version = project.version
58+
sinceBuild = '212'
59+
untilBuild = '221.*'
5760
}
5861
}
5962

utbot-intellij/src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<id>org.utbot.intellij.plugin.id</id>
55
<name>UnitTestBot</name>
66
<vendor>utbot.org</vendor>
7-
<idea-version since-build="202.8194.7"/>
7+
<!-- Do not insert, it is updated from build.gradle-->
8+
<!-- <idea-version since-build="202.8194.7"/>-->
89
<version>2022.7-beta</version>
910
<depends>com.intellij.modules.platform</depends>
1011
<depends>com.intellij.modules.java</depends>

0 commit comments

Comments
 (0)