Skip to content

Commit

Permalink
Update sbt-example to 8.1.0 (#468)
Browse files Browse the repository at this point in the history

Co-authored-by: Yang, Bo <pop.atry@gmail.com>
  • Loading branch information
scala-steward and Atry committed Nov 14, 2021
1 parent a0992e2 commit f75f6aa
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions comprehension/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ enablePlugins(Example)

import meta._
exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.freespec.AnyFreeSpec" =>
ctor"_root_.org.scalatest.freespec.AsyncFreeSpec"
case init"_root_.org.scalatest.freespec.AnyFreeSpec" =>
init"_root_.org.scalatest.freespec.AsyncFreeSpec"
case otherTrait =>
otherTrait
}
Expand Down
2 changes: 1 addition & 1 deletion domains-scalaz/.jvm/jvm.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sourceGenerators in Test := {
}

import scala.meta._
exampleSuperTypes += ctor"_root_.org.scalatest.Inside"
exampleSuperTypes += init"_root_.org.scalatest.Inside"

libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.2.30" % Optional

Expand Down
4 changes: 2 additions & 2 deletions domains-task/.jvm/jvm.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ enablePlugins(Example)

import scala.meta._
exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.freespec.AnyFreeSpec" =>
ctor"_root_.org.scalatest.freespec.AsyncFreeSpec"
case init"_root_.org.scalatest.freespec.AnyFreeSpec" =>
init"_root_.org.scalatest.freespec.AsyncFreeSpec"
case otherTrait =>
otherTrait
}
4 changes: 2 additions & 2 deletions keywords-AsynchronousIo/.jvm/jvm.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ enablePlugins(Example)

import meta._
exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.FreeSpec" =>
ctor"_root_.org.scalatest.AsyncFreeSpec"
case init"_root_.org.scalatest.FreeSpec" =>
init"_root_.org.scalatest.AsyncFreeSpec"
case otherTrait =>
otherTrait
}
Expand Down
4 changes: 2 additions & 2 deletions keywords-Await/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ enablePlugins(Example)

import scala.meta._
exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.freespec.AnyFreeSpec" =>
ctor"_root_.org.scalatest.freespec.AsyncFreeSpec"
case init"_root_.org.scalatest.freespec.AnyFreeSpec" =>
init"_root_.org.scalatest.freespec.AsyncFreeSpec"
case otherTrait =>
otherTrait
}
Expand Down
4 changes: 2 additions & 2 deletions keywords-Using/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ enablePlugins(Example)

import meta._
exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.freespec.AnyFreeSpec" =>
ctor"_root_.org.scalatest.freespec.AsyncFreeSpec"
case init"_root_.org.scalatest.freespec.AnyFreeSpec" =>
init"_root_.org.scalatest.freespec.AsyncFreeSpec"
case otherTrait =>
otherTrait
}
Expand Down
8 changes: 4 additions & 4 deletions package/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % "7.2.30"
import scala.meta._

exampleSuperTypes := exampleSuperTypes.value.map {
case ctor"_root_.org.scalatest.freespec.AnyFreeSpec" =>
ctor"_root_.org.scalatest.freespec.AsyncFreeSpec"
case init"_root_.org.scalatest.freespec.AnyFreeSpec" =>
init"_root_.org.scalatest.freespec.AsyncFreeSpec"
case otherTrait =>
otherTrait
}

exampleSuperTypes += ctor"_root_.org.scalatest.Inside"
exampleSuperTypes += ctor"_root_.com.thoughtworks.dsl.MockPingPongServer"
exampleSuperTypes += init"_root_.org.scalatest.Inside"
exampleSuperTypes += init"_root_.com.thoughtworks.dsl.MockPingPongServer"

addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.10.3")

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")

addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2")

addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "7.0.1")
addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "8.1.0")

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0")

Expand Down

0 comments on commit f75f6aa

Please sign in to comment.