Cleanup registering the runIdeForUiTests task

This commit is contained in:
Jakub Chrzanowski 2024-08-09 14:40:34 +02:00 committed by Jakub Chrzanowski
parent b0c4bb5b62
commit 3c399f798b
2 changed files with 18 additions and 14 deletions

View File

@ -9,6 +9,7 @@
- Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.0.1` - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.0.1`
- Update `platformVersion` to `2023.3.7` - Update `platformVersion` to `2023.3.7`
- Change since/until build to `233-242.*` (2023.3-2024.2.*) - Change since/until build to `233-242.*` (2023.3-2024.2.*)
- Cleanup registering the `runIdeForUiTests` task
## [2.0.0] - 2024-07-30 ## [2.0.0] - 2024-07-30

View File

@ -1,6 +1,5 @@
import org.jetbrains.changelog.Changelog import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.platform.gradle.Constants.Constraints
import org.jetbrains.intellij.platform.gradle.TestFrameworkType import org.jetbrains.intellij.platform.gradle.TestFrameworkType
plugins { plugins {
@ -136,7 +135,9 @@ tasks {
} }
} }
val runIdeForUiTests by intellijPlatformTesting.runIde.registering { intellijPlatformTesting {
runIde {
register("runIdeForUiTests") {
task { task {
jvmArgumentProviders += CommandLineArgumentProvider { jvmArgumentProviders += CommandLineArgumentProvider {
listOf( listOf(
@ -149,6 +150,8 @@ val runIdeForUiTests by intellijPlatformTesting.runIde.registering {
} }
plugins { plugins {
robotServerPlugin(Constraints.LATEST_VERSION) robotServerPlugin()
}
}
} }
} }