-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (26 loc) · 1.06 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
lazy val commonSettings = Seq(
name := "tri-bench",
organization := "uuverifiers",
version := "0.1",
scalaVersion := "2.11.12",
crossScalaVersions := Seq("2.11.12", "2.12.8")
// publishTo := Some(Resolver.file("file", new File( "/home/wv/public_html/maven/" )) )
)
// Actual project
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(
// mainClass in Compile := Some("tricera.Main"),
//
scalacOptions in Compile ++=
List("-feature",
"-language:implicitConversions,postfixOps,reflectiveCalls"),
scalacOptions += (scalaVersion map { sv => sv match {
case "2.11.12" => "-optimise"
case "2.12.8" => "-opt:_"
}}).value,
resolvers += ("uuverifiers" at "http://logicrunch.research.it.uu.se/maven/").withAllowInsecureProtocol(true),
libraryDependencies += "uuverifiers" %% "tricera" % "0.2",
libraryDependencies += "com.github.dwickern" %% "scala-nameof" % "3.0.0" % "provided"
)
//