Skip to content

Commit

Permalink
project: drop support for scala 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-eric-torreborre committed May 22, 2021
1 parent e725bfb commit c14d98c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ lazy val specs2 = project.in(file(".")).
shapelessJS, junitJS, scalacheckJS, mockJS
)

val scala211 = "2.11.12"

/** COMMON SETTINGS */
lazy val specs2Settings = Seq(
organization := "org.specs2",
GlobalScope / scalazVersion := "7.2.31",
specs2ShellPrompt,
scalaVersion := "2.13.5",
SettingKey[Boolean]("ide-skip-project").withRank(KeyRanks.Invisible) := platformDepsCrossVersion.value == ScalaNativeCrossVersion.binary,
crossScalaVersions := Seq(scalaVersion.value, scala211, "2.12.13"))
crossScalaVersions := Seq(scalaVersion.value, "2.12.13"))

lazy val tagName = Def.setting {
s"specs2-${version.value}"
Expand All @@ -54,8 +52,8 @@ lazy val commonJsSettings = Seq(
)

lazy val commonNativeSettings = Seq(
scalaVersion := scala211,
crossScalaVersions := Seq(scala211),
scalaVersion := "2.13",
crossScalaVersions := Seq("2.13"),
nativeLinkStubs := true
)

Expand Down
2 changes: 1 addition & 1 deletion project/depends.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object depends {
lazy val tagsoup = "org.ccil.cowan.tagsoup" % "tagsoup" % "1.2.1"

lazy val scalacheck = Def.setting {
"org.scalacheck" %%% "scalacheck" % "1.15.3"
"org.scalacheck" %%% "scalacheck" % "1.15.4"
}

def paradise(scalaVersion: String) =
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVer
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeVersion)
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.0.0")
addSbtPlugin("io.crashbox" % "sbt-gpg" % "0.2.1")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ThisBuild / version := "4.11.1"
ThisBuild / version := "4.12.0"
ThisBuild / versionScheme := Some("semver-spec")

0 comments on commit c14d98c

Please sign in to comment.