diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a90ef3..04c9549 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,9 @@ on: release: types: [published] push: - branches: main + branches: + - main + - update/sbt-exercise-0.7.1 jobs: release: diff --git a/build.sbt b/build.sbt index 8763c6b..a2c9a02 100644 --- a/build.sbt +++ b/build.sbt @@ -4,6 +4,11 @@ ThisBuild / organization := "org.scala-exercises" ThisBuild / githubOrganization := "47degrees" ThisBuild / scalaVersion := "2.13.8" +// Required to prevent errors for eviction from binary incompatible dependency +// resolutions. +// See also: https://github.com/scala-exercises/exercises-cats/pull/267 +ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % "always" + // This is required by the exercises compiler: publishLocal := (publishLocal dependsOn compile).value publishSigned := (publishSigned dependsOn compile).value @@ -16,13 +21,13 @@ lazy val exercises = (project in file(".")) .settings(name := "exercises-stdlib") .settings( libraryDependencies ++= Seq( - "org.scala-exercises" %% "exercise-compiler" % "0.6.7", - "org.scala-exercises" %% "definitions" % "0.6.7", + "org.scala-exercises" %% "exercise-compiler" % "0.7.1", + "org.scala-exercises" %% "definitions" % "0.7.1", "com.chuusai" %% "shapeless" % "2.3.7", - "org.scalatest" %% "scalatest" % "3.2.10", + "org.scalatest" %% "scalatest" % "3.2.11", "org.scalacheck" %% "scalacheck" % "1.15.4", - "org.scalatestplus" %% "scalacheck-1-14" % "3.2.2.0", - "com.github.alexarchambault" %% "scalacheck-shapeless_1.15" % "1.3.0" + "com.github.alexarchambault" %% "scalacheck-shapeless_1.15" % "1.3.0", + "org.scalatestplus" %% "scalacheck-1-15" % "3.2.9.0" % Test ) ) .enablePlugins(ExerciseCompilerPlugin) diff --git a/project/plugins.sbt b/project/plugins.sbt index 22e70c7..1386226 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.6.7") +addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.7.1") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.24") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")