Skip to content

Commit

Permalink
Drop Scala 2.12 support (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarter97 authored May 19, 2022
1 parent 4818b86 commit d0616ce
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
lazy val scala3 = "3.1.2"
lazy val scala213 = "2.13.8"
lazy val scala212 = "2.12.15"
lazy val supportedScalaVersions = List(scala3, scala213, scala212)
lazy val supportedScalaVersions = List(scala3, scala213)
lazy val scmUrl = "https://github.com/sky-uk/kafka-topic-loader"

name := "kafka-topic-loader"
Expand All @@ -27,12 +26,7 @@ semanticdbVersion := scalafixSemanticdb.revision

tpolecatScalacOptions ++= Set(ScalacOptions.source3)

ThisBuild / scalacOptions ++= Seq("-explaintypes") ++ {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) | Some((2, 13)) => Seq("-Wconf:msg=annotation:silent")
case _ => Nil
}
}
ThisBuild / scalacOptions ++= Seq("-explaintypes", "-Wconf:msg=annotation:silent")

ThisBuild / scalafixDependencies += Dependencies.Plugins.organizeImports

Expand Down

0 comments on commit d0616ce

Please sign in to comment.