Skip to content

Commit

Permalink
Merge pull request #238 from mzuehlke/scala-version-from-scalafix
Browse files Browse the repository at this point in the history
Sync the scalac version with the one used by scalafix
  • Loading branch information
lenguyenthanh authored Oct 11, 2024
2 parents 82147f9 + a00f296 commit 578929c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.typesafe.tools.mima.core._

ThisBuild / tlBaseVersion := "0.5"

ThisBuild / organization := "org.typelevel"
Expand All @@ -17,7 +15,7 @@ ThisBuild / semanticdbVersion := scalafixSemanticdb.revision

ThisBuild / versionScheme := Some(VersionScheme.EarlySemVer)

ThisBuild / scalaVersion := "2.12.19"
ThisBuild / scalaVersion := "2.12.20"

lazy val `sbt-tpolecat` = project
.in(file("."))
Expand Down Expand Up @@ -59,15 +57,13 @@ lazy val `sbt-tpolecat-plugin` = project
)

lazy val `sbt-tpolecat-scalafix` = scalafixProject("sbt-tpolecat")
.rulesConfigure(project =>
project.settings(
mimaPreviousArtifacts := Set(
)
)
.rulesSettings(mimaPreviousArtifacts := Set.empty)
.inputSettings(
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.0"),
tlFatalWarnings := false
)
.inputSettings(addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.0"))
.inputSettings(tlFatalWarnings := false)
.inputConfigure(_.enablePlugins(SbtPlugin))
.outputSettings(tlFatalWarnings := false)
.outputConfigure(_.dependsOn(`sbt-tpolecat-plugin`))
.outputConfigure(_.enablePlugins(SbtPlugin))
.testsSettings(scalaVersion := _root_.scalafix.sbt.BuildInfo.scala212)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.3")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")

0 comments on commit 578929c

Please sign in to comment.