-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.sbt
57 lines (41 loc) · 1.64 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
52
53
54
55
56
57
organization := "org.tygus"
name := "suslik"
version := "0.1.0"
scalaVersion := "2.12.12"
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
scalacOptions += "-target:jvm-1.8"
resolvers in ThisBuild ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
resolvers += Resolver.bintrayIvyRepo("com.eed3si9n", "sbt-plugins")
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.6.4" withSources(),
"ch.qos.logback" % "logback-classic" % "1.1.3" % "test",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6" withSources(),
"org.scalaz" %% "scalaz-core" % "7.2.11",
"com.github.scopt" %% "scopt" % "3.7.0",
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.2",
"com.lihaoyi" %% "upickle" % "0.9.5",
"org.bitbucket.franck44.scalasmt" %% "scalasmt" % "2.1.1-SNAPSHOT" withSources()
)
scalacOptions ++= Seq()
logLevel in ThisBuild := Level.Warn
// creating a logger and setting level to warn/whatever for console
initialCommands in console :=
"""|
| import ch.qos.logback.classic.Logger
| import org.slf4j.LoggerFactory
| val root = LoggerFactory.getLogger("root").asInstanceOf[Logger]
| import ch.qos.logback.classic.Level
| root.setLevel(Level.OFF)
| """.stripMargin
mainClass in assembly := Some("org.tygus.suslik.synthesis.SynthesisRunner")
test in assembly := {}
parallelExecution in Test := false
assemblyJarName in assembly := "suslik.jar"
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}