@@ -3,11 +3,11 @@ import com.typesafe.tools.mima.plugin.MimaPlugin.mimaDefaultSettings
33val kryoVersion = " 2.21"
44val bijectionVersion = " 0.9.4"
55val algebirdVersion = " 0.12.0"
6- val akkaVersion = " 2.3.6 "
6+ val akkaVersion = " 2.4.16 "
77
88val sharedSettings = mimaDefaultSettings ++ scalariformSettings ++ Seq (
99 organization := " com.twitter" ,
10- scalaVersion := " 2.11.8 " ,
10+ scalaVersion := " 2.12.1 " ,
1111 crossScalaVersions := Seq (" 2.10.6" , " 2.11.8" , " 2.12.1" ),
1212 scalacOptions ++= Seq (" -unchecked" , " -deprecation" ),
1313 ScalariformKeys .preferences := formattingPreferences,
@@ -153,12 +153,17 @@ lazy val chill = Project(
153153 mimaPreviousArtifacts := Set (" com.twitter" %% " chill" % binaryCompatVersion)
154154).dependsOn(chillJava)
155155
156+ def akka (scalaVersion : String ) =
157+ (scalaVersion match {
158+ case " 2.10.6" => " com.typesafe.akka" %% " akka-actor" % " 2.3.16"
159+ case _ => " com.typesafe.akka" %% " akka-actor" % akkaVersion
160+ }) % " provided"
161+
156162lazy val chillAkka = module(" akka" ).settings(
157163 resolvers += Resolver .typesafeRepo(" releases" ),
158- crossScalaVersions := crossScalaVersions.value.filterNot(_.startsWith(" 2.12" )),
159164 libraryDependencies ++= Seq (
160165 " com.typesafe" % " config" % " 1.2.1" ,
161- " com.typesafe.akka " %% " akka-actor " % akkaVersion % " provided "
166+ scalaVersion (sv => akka(sv)).value
162167 )
163168).dependsOn(chill % " test->test;compile->compile" )
164169
0 commit comments