Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import java.text.SimpleDateFormat
import org.gradle.api.JavaVersion.VERSION_11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

Expand All @@ -9,7 +10,7 @@ val coroutinesVersion: String by project
val collectionsVersion: String by project
val junit5Version: String by project

version = semVer ?: "1.0-SNAPSHOT"
version = semVer ?: "${SimpleDateFormat("YYYY.MM").format(System.currentTimeMillis())}-SNAPSHOT"

plugins {
`java-library`
Expand Down
2 changes: 2 additions & 0 deletions utbot-intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ val pythonCommunityPluginVersion: String? by rootProject
val pythonUltimatePluginVersion: String? by rootProject
val sootCommitHash: String? by rootProject
val kryoVersion: String? by rootProject
val semVer: String? by rootProject

plugins {
id("org.jetbrains.intellij") version "1.7.0"
Expand Down Expand Up @@ -68,6 +69,7 @@ tasks {
patchPluginXml {
sinceBuild.set("212")
untilBuild.set("222.*")
version.set(semVer)
}
}

Expand Down
3 changes: 0 additions & 3 deletions utbot-intellij/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<id>org.utbot.intellij.plugin.id</id>
<name>UnitTestBot</name>
<vendor>utbot.org</vendor>
<!-- Do not insert, it is updated from build.gradle-->
<!-- <idea-version since-build="202.8194.7"/>-->
<version>2022.7-beta</version>
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.java</depends>
<depends>org.jetbrains.kotlin</depends>
Expand Down