forked from Verizon/ermine-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
34 lines (21 loc) · 1.05 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
name := "parser"
organization in Global := "io.verizon.ermine"
crossScalaVersions in Global := Seq("2.12.4", "2.11.12", "2.10.7")
scalaVersion in Global := crossScalaVersions.value.head
description := "A Trifecta inspired parser in Scala."
licenses += ("BSD Simplified", url("https://github.com/verizon/ermine-parser/blob/master/LICENSE"))
homepage := Some(url("https://github.com/verizon/ermine-parser"))
scalacOptions ++=
Seq("-encoding", "UTF-8", "-Yrecursion", "50", "-deprecation",
"-unchecked", "-Xlint", "-feature",
"-language:implicitConversions", "-language:higherKinds",
"-language:existentials", "-language:postfixOps")
resolvers += Resolver.bintrayRepo("non", "maven") // for kind-projector
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.5")
javacOptions += "-Xlint"
val catsVersion = "1.0.0"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-free" % catsVersion
)
initialCommands in console := "import cats._; import cats.implicits._; import scalaparsers._"