Skip to content

Commit a7fc232

Browse files
Philippuspeteraldous
authored andcommitted
Drop Scala 2.11.x
1 parent 288839b commit a7fc232

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
java: [8, 11, 17]
13-
scala: [2.11.x, 2.12.x, 2.13.x, 3.x]
13+
scala: [2.12.x, 2.13.x, 3.x]
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This library's main strengths are:
1313
* Stability. It's been around and in wide use for more than a decade.
1414
* The codebase is modest in size and its internals are fairly simple.
1515
* It's plain vanilla Scala. No macros, code generation, or other magic is involved.
16-
* All versions of Scala (2.11, 2.12, 2.13, 3) are supported on all back ends (JVM, JS, Native).
16+
* Multiple versions of Scala (2.12, 2.13, 3) are supported on all back ends (JVM, JS, Native).
1717

1818
Its main weaknesses are:
1919

Diff for: build.sbt

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
2222
name := "scala-parser-combinators",
2323
scalaModuleAutomaticModuleName := Some("scala.util.parsing"),
2424

25-
crossScalaVersions := Seq("2.13.10", "2.12.17", "2.11.12", "3.2.1"),
25+
crossScalaVersions := Seq("2.13.10", "2.12.17", "3.2.1"),
2626
scalaVersion := crossScalaVersions.value.head,
2727

2828
libraryDependencies += "junit" % "junit" % "4.13.2" % Test,
2929
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test,
30-
// so we can `@nowarn` in test code, but only in test code, so the dependency
31-
// doesn't leak downstream. can be dropped when we drop 2.11 from the crossbuild
32-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.9.0" % Test,
3330

3431
apiMappings ++= scalaInstance.value.libraryJars.collect {
3532
case file if file.getName.startsWith("scala-library") && file.getName.endsWith(".jar") =>

Diff for: shared/src/main/scala-2.13-/scala/util/parsing/input/ScalaVersionSpecificPagedSeq.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
package scala.util.parsing.input
1414

1515
private[input] trait ScalaVersionSpecificPagedSeq[T] {
16-
// Nothing for 2.11 and 2.12!
16+
// Nothing for 2.12!
1717
}

0 commit comments

Comments
 (0)