@@ -6,7 +6,7 @@ organization := "com.typesafe"
66
77version := " 1.1.0"
88
9- lazy val scala210Version = " 2.10.5 "
9+ lazy val scala210Version = " 2.10.6 "
1010lazy val scala211Version = " 2.11.8"
1111lazy val scala212Version = " 2.12.1"
1212
@@ -22,17 +22,20 @@ publishTo := Some(typesafeIvyReleases)
2222
2323publishMavenStyle := false
2424
25- scalacOptions <<= (scalaVersion) map { sv =>
26- Seq (" -unchecked" , " -deprecation" ) ++
27- { if (sv.startsWith(" 2.9" )) Seq .empty else Seq (" -feature" ) }
28- }
25+ scalacOptions ++= Seq (" -unchecked" , " -deprecation" , " -feature" )
2926
30- javacOptions in (Compile , doc) := Seq (" -target" , " 1.6" , " -source" , " 1.6" )
27+ javacOptions in (Compile , doc) ++=
28+ (CrossVersion .partialVersion(scalaVersion.value) match {
29+ case Some ((2 , n)) if n <= 11 =>
30+ Seq (" -target" , " 1.6" , " -source" , " 1.6" )
31+ case _ =>
32+ Seq ()
33+ })
3134
3235licenses += (" Apache-2.0" , url(" https://www.apache.org/licenses/LICENSE-2.0.html" ))
3336
3437libraryDependencies ++= Seq (
35- " org.scalatest" %% " scalatest" % " 3.0.0 " % Test
38+ " org.scalatest" %% " scalatest" % " 3.0.1 " % Test
3639)
3740
3841initialCommands in console := {
0 commit comments