Skip to content

Commit

Permalink
add Scala 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
msmiech committed May 7, 2024
1 parent a9e2247 commit 6b4b4fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publishTo := Some(Resolver.evolutionReleases)

scalaVersion := crossScalaVersions.value.head

crossScalaVersions := Seq("2.13.6", "2.12.14")
crossScalaVersions := Seq("2.13.14", "2.12.19", "3.3.3")

libraryDependencies ++= Seq(
`cats-effect`,
Expand Down
8 changes: 4 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import sbt._

object Dependencies {

val scalatest = "org.scalatest" %% "scalatest" % "3.2.16"
val `cats-helper` = "com.evolutiongaming" %% "cats-helper" % "3.0.1"
val random = "com.evolutiongaming" %% "random" % "1.0.0"
val `cats-effect` = "org.typelevel" %% "cats-effect" % "3.4.8"
val scalatest = "org.scalatest" %% "scalatest" % "3.2.18"
val `cats-helper` = "com.evolutiongaming" %% "cats-helper" % "3.10.3"
val random = "com.evolution" %% "random" % "1.0.4"
val `cats-effect` = "org.typelevel" %% "cats-effect" % "3.4.11"
}
2 changes: 1 addition & 1 deletion src/main/scala/com/evolutiongaming/retry/Sleep.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object Sleep {

def apply[F[_]](implicit F: Sleep[F]): Sleep[F] = F

implicit def fromGenTemporal[F[_]](implicit F: GenTemporal[F, _]): Sleep[F] =
implicit def fromGenTemporal[F[_]](implicit F: GenTemporal[F, ?]): Sleep[F] =
new Sleep[F] {
def applicative = F.applicative
def monotonic = F.monotonic
Expand Down

0 comments on commit 6b4b4fd

Please sign in to comment.