-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
51 lines (43 loc) · 1.34 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import sbt._
import Keys._
import play.sbt.PlayScala
lazy val appVersion = "0.3.3-SNAPSHOT"
lazy val catsVersion = "1.0.1"
lazy val circeVersion = "0.9.3"
organization := "com.passivsystems"
name := "play-workflow"
version := appVersion
scalaVersion := "2.12.6"
crossScalaVersions := Seq(
"2.11.12"
, "2.12.6"
)
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion
, "org.typelevel" %% "cats-free" % catsVersion
, compilerPlugin("org.spire-math" %% "kind-projector" % "0.9.6")
, "io.circe" %% "circe-parser" % circeVersion
, "io.circe" %% "circe-generic" % circeVersion
// Test
, "org.scalatest" %% "scalatest" % "3.0.5" % Test
, "org.scalacheck" %% "scalacheck" % "1.14.0" % Test
, "org.typelevel" %% "cats-laws" % catsVersion % Test
)
scalaSource in Compile := baseDirectory.value / "src/main/scala"
scalaSource in Test := baseDirectory.value / "src/test/scala"
scalacOptions ++= (
Seq( "-Xlint"
, "-deprecation"
, "-feature"
, "-language:higherKinds"
, "-Xfuture"
, "-Ywarn-unused-import"
, "-Ywarn-value-discard"
) ++ Seq(
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) => "-target:jvm-1.7"
case _ => ""
}
)
)
enablePlugins(PlayScala)