1
- import scoverage .ScoverageSbtPlugin
2
-
3
1
organization := " org.zalando"
4
2
5
3
name := " scala-jsonapi"
@@ -14,30 +12,33 @@ resolvers ++= Seq(
14
12
)
15
13
16
14
libraryDependencies ++= {
17
- val circeVersion = " 0.5.0-M1 "
18
- val akkaVersion = " 2.4.7 "
15
+ val circeVersion = " 0.5.0-M2 "
16
+ val akkaVersion = " 2.4.8 "
19
17
20
18
Seq (
21
19
" io.spray" %% " spray-json" % " 1.3.2" % " provided" ,
22
20
" io.spray" %% " spray-httpx" % " 1.3.3" % " provided" ,
23
21
" com.typesafe.akka" %% " akka-actor" % akkaVersion % " provided" ,
24
22
" com.typesafe.akka" %% " akka-http-core" % akkaVersion % " provided" ,
25
23
" com.typesafe.akka" %% " akka-http-experimental" % akkaVersion % " provided" ,
26
- " com.typesafe.play" %% " play-json" % " 2.3.8 " % " provided" ,
24
+ " com.typesafe.play" %% " play-json" % " 2.3.10 " % " provided" ,
27
25
" io.circe" %% " circe-core" % circeVersion % " provided" ,
28
26
" io.circe" %% " circe-generic" % circeVersion % " provided" ,
29
27
" io.circe" %% " circe-parser" % circeVersion % " provided" ,
30
- " org.scalatest" %% " scalatest" % " 2.2.4 " % " test" ,
28
+ " org.scalatest" %% " scalatest" % " 3.0.0 " % " test" ,
31
29
" com.typesafe.akka" %% " akka-http-testkit" % akkaVersion % " test"
32
30
33
31
)
34
32
}
35
33
34
+ lazy val root = (project in file(" ." ))
35
+ .enablePlugins(ScoverageSbtPlugin )
36
+
36
37
scalafmtConfig in ThisBuild := Some (file(" .scalafmt" ))
37
38
38
- ScoverageSbtPlugin . ScoverageKeys . coverageMinimum := 80
39
+ coverageMinimum := 80
39
40
40
- ScoverageSbtPlugin . ScoverageKeys . coverageFailOnMinimum := true
41
+ coverageFailOnMinimum := true
41
42
42
43
publishMavenStyle := true
43
44
0 commit comments