Skip to content

Commit

Permalink
Set scala version
Browse files Browse the repository at this point in the history
  • Loading branch information
limansky committed Oct 10, 2024
1 parent 93f90e2 commit 8a8917a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ import ReleaseTransformations._

Global / excludeLintKeys += crossSbtVersions

val scala2 = "2.12.20"
val scala3 = "3.3.4"

lazy val sbtGitFlowVersion = (project in file("."))
.enablePlugins(SbtPlugin)
.settings(
name := "sbt-git-flow-version",
crossScalaVersions := List("2.12.20", "3.3.4"),
crossScalaVersions := List(scala2, scala3),
scalaVersion := scala2,
scalacOptions := {
scalaBinaryVersion.value match {
case "2.12" => Seq("-deprecation", "-unchecked", "-Xlint", "-feature")
Expand Down

0 comments on commit 8a8917a

Please sign in to comment.