From 251fcad00dafa666009bb4636dcaad0662f17972 Mon Sep 17 00:00:00 2001 From: Pawel Lipski Date: Thu, 7 Jul 2022 21:56:35 +0200 Subject: [PATCH] Update remote-robot and sbt-idea-plugin --- build.sbt | 8 ++++++-- project/Dependencies.scala | 9 ++++++--- project/plugins.sbt | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index 86012861..94a0c244 100644 --- a/build.sbt +++ b/build.sbt @@ -4,6 +4,8 @@ val scala212 = "2.12.16" val scala213 = "2.13.8" val crossScalaVersions = List(scala212, scala213) +Global / onChangedBuildSource := ReloadOnSourceChanges + (publish / skip) := true (ThisBuild / scalaVersion) := scala213 @@ -112,7 +114,9 @@ lazy val robotDriver = module("robot-driver", "extensions/robot/driver") lazy val robotDriver213 = robotDriver(scala213) -lazy val driverTests = testModule("driver-tests", "core/driver/tests").cross +lazy val driverTests = testModule("driver-tests", "core/driver/tests") + .settings(libraryDependencies += Dependencies.commonsIO) + .cross .dependsOn(junitDriver, robotDriver, api % "compile->compile;test->test") lazy val driverTests213 = driverTests(scala213) @@ -258,7 +262,7 @@ lazy val bazelProbeDriver = module(id = "bazel-probe-driver", path = "extensions/bazel/driver") .settings( name := "bazel-probe-driver", - libraryDependencies += "commons-codec" % "commons-codec" % "1.15" + libraryDependencies ++= Seq(Dependencies.commonsCodec, Dependencies.commonsIO) ) .cross .dependsOn(bazelProbeApi, driver, robotDriver) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index c952ec91..ecfa8fcd 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -15,11 +15,14 @@ object Dependencies { "org.scala-lang" % "scala-library" % version ) - val nuProcess = "com.zaxxer" % "nuprocess" % "2.0.3" + val commonsCodec = "commons-codec" % "commons-codec" % "1.15" + val commonsIO = "commons-io" % "commons-io" % "2.11.0" - val remoteRobot = "com.intellij.remoterobot" % "remote-robot" % "0.11.14" + val nuProcess = "com.zaxxer" % "nuprocess" % "2.0.3" - val remoteRobotFixtures = "com.intellij.remoterobot" % "remote-fixtures" % "0.11.14" + val robotVersion = "0.11.15" + val remoteRobot = "com.intellij.remoterobot" % "remote-robot" % robotVersion + val remoteRobotFixtures = "com.intellij.remoterobot" % "remote-fixtures" % robotVersion val gson = "com.google.code.gson" % "gson" % "2.9.0" diff --git a/project/plugins.sbt b/project/plugins.sbt index 50914c80..ffc93293 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.12.1") +addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.14.5") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")