diff --git a/build.gradle.kts b/build.gradle.kts index 4a26fd6..3767cbc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -67,19 +67,6 @@ detekt { // Configure UI tests plugin // Read more: https://github.com/JetBrains/intellij-ui-test-robot -tasks { - withType { - version.set("0.10.3") - } - - withType { - systemProperty("robot-server.port", "8082") - systemProperty("ide.mac.message.dialogs.as.sheets", "false") - systemProperty("jb.privacy.policy.text", "") - systemProperty("jb.consents.confirmation.enabled", "false") - } -} - tasks { // Set the compatibility versions to 1.8 withType { @@ -120,6 +107,17 @@ tasks { ideVersions.set(properties("pluginVerifierIdeVersions").split(',').map(String::trim).filter(String::isNotEmpty)) } + downloadRobotServerPlugin { + version.set("0.11.4") + } + + runIdeForUiTests { + systemProperty("robot-server.port", "8082") + systemProperty("ide.mac.message.dialogs.as.sheets", "false") + systemProperty("jb.privacy.policy.text", "") + systemProperty("jb.consents.confirmation.enabled", "false") + } + publishPlugin { dependsOn("patchChangelog") token.set(System.getenv("PUBLISH_TOKEN"))