Skip to content

Commit 8c93790

Browse files
committed
Do not support Scala 2.10 any more
1 parent b54e7ae commit 8c93790

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

build.sbt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
organization := "tv.cntt"
22
name := "scaposer"
3-
version := "1.11.0-SNAPSHOT"
3+
version := "1.11.1-SNAPSHOT"
44

55
scalaVersion := "2.12.6"
6-
crossScalaVersions := Seq("2.12.6", "2.11.12", "2.10.7")
6+
crossScalaVersions := Seq("2.12.6", "2.11.12")
77

88
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked")
99
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
1010

1111
// Scala 2.11+ core does not include scala.util.parsing.combinator
12-
libraryDependencies := {
13-
CrossVersion.partialVersion(scalaVersion.value) match {
14-
case Some((2, scalaMajor)) if scalaMajor >= 11 =>
15-
libraryDependencies.value :+ "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.1"
16-
case _ =>
17-
libraryDependencies.value
18-
}
19-
}
12+
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.1"
2013

2114
libraryDependencies += "org.specs2" %% "specs2-core" % "4.3.3" % "test"

0 commit comments

Comments
 (0)