Skip to content

Commit

Permalink
Update scala-library to 2.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Sep 26, 2024
1 parent fadc2cc commit a5d1379
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible

def crossSettings[T](scalaVersion: String, if3: List[T], if2: List[T]) =
CrossVersion.partialVersion(scalaVersion) match {
case Some((3, _)) => if3
case Some((3, _)) => if3
case Some((2, 12 | 13)) => if2
case _ => Nil
case _ => Nil
}

lazy val commonSettings = Seq(
Expand All @@ -19,7 +19,7 @@ lazy val commonSettings = Seq(
organizationName := "Evolution",
organizationHomepage := Some(url("https://evolution.com")),
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("2.13.12", "3.3.1", "2.12.18"),
crossScalaVersions := Seq("2.13.15", "3.3.1", "2.12.18"),
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
Compile / doc / scalacOptions += "-no-link-warnings",
scalacOptions ++= crossSettings(
Expand All @@ -39,8 +39,12 @@ lazy val commonSettings = Seq(
ProblemFilters.exclude[DirectMissingMethodProblem](
"com.evolutiongaming.skafka.Converters#MapJOps.asScalaMap$extension"
),
ProblemFilters.exclude[DirectMissingMethodProblem]("com.evolutiongaming.skafka.consumer.ConsumerMetrics#ConsumerMetricsOps.mapK$extension"),
ProblemFilters.exclude[DirectMissingMethodProblem]("com.evolutiongaming.skafka.producer.ProducerMetrics#ProducerMetricsOps.mapK$extension"),
ProblemFilters.exclude[DirectMissingMethodProblem](
"com.evolutiongaming.skafka.consumer.ConsumerMetrics#ConsumerMetricsOps.mapK$extension"
),
ProblemFilters.exclude[DirectMissingMethodProblem](
"com.evolutiongaming.skafka.producer.ProducerMetrics#ProducerMetricsOps.mapK$extension"
),
)
)

Expand All @@ -50,10 +54,9 @@ val alias: Seq[sbt.Def.Setting[?]] =
// "check",
// "all versionPolicyCheck Compile/doc scalafmtCheckAll scalafmtSbtCheck; scalafixEnable; scalafixAll --check",
// ) ++
addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++
addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++
addCommandAlias("build", "+all compile test")


lazy val root = (project in file(".")
disablePlugins (MimaPlugin)
settings (name := "skafka")
Expand All @@ -75,9 +78,9 @@ lazy val skafka = (project in file("skafka")
`future-helper`,
`cats-helper`,
Smetrics.smetrics,
scalatest % Test,
Cats.laws % Test,
discipline % Test,
scalatest % Test,
Cats.laws % Test,
discipline % Test,
CatsEffect.effectTestKit % Test,
`scala-java8-compat`,
`collection-compat`
Expand Down

0 comments on commit a5d1379

Please sign in to comment.