Skip to content

Commit

Permalink
after learning more about scalfix,
Browse files Browse the repository at this point in the history
only use the scalac version for scalafix-tests
cleaned up the settings a bit
  • Loading branch information
mzuehlke committed Oct 9, 2024
1 parent d4303ee commit a00f296
Showing 1 changed file with 6 additions and 10 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 := _root_.scalafix.sbt.BuildInfo.scala212
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)

0 comments on commit a00f296

Please sign in to comment.