From 744cf2afb42ca8d6bb9905c6dd046926d134dbe0 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Tue, 8 Jun 2021 23:05:58 +0200 Subject: [PATCH] =?UTF-8?q?Gradle=20cleanup=20=E2=80=93=20downloadRobotSer?= =?UTF-8?q?verPlugin,=20runIdeForUiTests=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) 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"))