File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ import java.text.SimpleDateFormat
1
2
import org.gradle.api.JavaVersion.VERSION_11
2
3
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
4
@@ -8,8 +9,9 @@ val semVer: String? by project
8
9
val coroutinesVersion: String by project
9
10
val collectionsVersion: String by project
10
11
val junit5Version: String by project
12
+ val dateBasedVersion: String = SimpleDateFormat (" YYYY.MM" ).format(System .currentTimeMillis()) // CI proceeds the same way
11
13
12
- version = semVer ? : " 1.0 -SNAPSHOT"
14
+ version = semVer ? : " $dateBasedVersion -SNAPSHOT"
13
15
14
16
plugins {
15
17
`java- library`
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ val pythonCommunityPluginVersion: String? by rootProject
7
7
val pythonUltimatePluginVersion: String? by rootProject
8
8
val sootCommitHash: String? by rootProject
9
9
val kryoVersion: String? by rootProject
10
+ val semVer: String? by rootProject
10
11
11
12
plugins {
12
13
id(" org.jetbrains.intellij" ) version " 1.7.0"
@@ -68,6 +69,7 @@ tasks {
68
69
patchPluginXml {
69
70
sinceBuild.set(" 212" )
70
71
untilBuild.set(" 222.*" )
72
+ version.set(semVer)
71
73
}
72
74
}
73
75
Original file line number Diff line number Diff line change 4
4
<id >org.utbot.intellij.plugin.id</id >
5
5
<name >UnitTestBot</name >
6
6
<vendor >utbot.org</vendor >
7
- <!-- Do not insert, it is updated from build.gradle-->
8
- <!-- <idea-version since-build="202.8194.7"/>-->
9
- <version >2022.7-beta</version >
10
7
<depends >com.intellij.modules.platform</depends >
11
8
<depends >com.intellij.modules.java</depends >
12
9
<depends >org.jetbrains.kotlin</depends >
You can’t perform that action at this time.
0 commit comments