-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
49 lines (31 loc) · 1.19 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
name in ThisBuild := "neil"
scalaVersion in ThisBuild := "2.12.2"
version in ThisBuild := "0.0.2"
scalacOptions ++= Seq(
"-Xlint",
"-opt:l:classpath",
"-Ypartial-unification",
"-feature",
"-deprecation",
"-unchecked",
"-language:higherKinds",
"-language:implicitConversions",
"-Xfatal-warnings"
)
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3")
libraryDependencies += "org.typelevel" %% "cats" % "0.9.0"
libraryDependencies += "io.monix" %% "monix" % "2.2.2"
libraryDependencies += "io.monix" %% "monix-cats" % "2.2.2"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
libraryDependencies += "com.lihaoyi" %% "fastparse" % "0.4.3"
libraryDependencies += "com.github.alexarchambault" %% "case-app" % "1.2.0-M1"
test in assembly := {}
mainClass in assembly := Some("io.enoble.svg2d.Main")
resolvers += Resolver.sonatypeRepo("public")
javaOptions in run ++=
Seq("-Xmx1g", "-Xms1g")
val timeTask: TaskKey[Unit] = TaskKey("time")
timeTask := { (run in Compile).toTask(" -a android -i svg --timed overall:300").value }
fork in test := true
fork in (run in Compile) := true