Skip to content

Commit

Permalink
Update Kotlin and IJ versions range (#421)
Browse files Browse the repository at this point in the history
* Update Kotlin Version to 2.1.0

* Update IJ supporting range + version which is used for UI testing

* Resolve issue with UI test in the new platform
  • Loading branch information
pderakhshanfar authored Dec 10, 2024
1 parent c1e136d commit 5d2eb90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.9.0"
id("org.jetbrains.kotlin.jvm") version "2.1.0"
// Gradle IntelliJ Plugin
id("org.jetbrains.intellij.platform") version "2.1.0"
// Gradle IntelliJ Plugin Migration Help (uncomment it for migration tips)
Expand Down Expand Up @@ -77,7 +77,6 @@ if (spaceCredentialsProvided()) {

// Add the dependencies for the new source set
dependencies {
add(hasGrazieAccess.implementationConfigurationName, kotlin("stdlib"))
add(hasGrazieAccess.implementationConfigurationName, "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
add(hasGrazieAccess.implementationConfigurationName, "org.jetbrains.research:grazie-test-generation:$grazieTestGenerationVersion")
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ evosuiteVersion = 1.0.5

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 241
pluginUntilBuild = 242.*
pluginSinceBuild = 242
pluginUntilBuild = 243.*

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IC
platformVersion = 2024.2.3
platformVersion = 2024.3

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ object StepsLogger {
private var initializaed = false

@JvmStatic
fun init() = synchronized(initializaed) {
private val lock = Any()
fun init() = synchronized(lock) {
if (initializaed.not()) {
StepWorker.registerProcessor(StepLogger())
initializaed = true
Expand Down

0 comments on commit 5d2eb90

Please sign in to comment.