-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (46 loc) · 1.79 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
lazy val commonSettings = Seq(
name := "Horn-Concurrency",
organization := "uuverifiers",
version := "2.1.1",
scalaVersion := "2.11.12",
crossScalaVersions := Seq("2.11.12", "2.12.18"),
description := "Encoding of concurrent or replicated programs using Horn clauses",
homepage := Some(url("https://github.com/uuverifiers/horn-concurrency")),
licenses := Seq("BSD License 2.0" -> url("https://github.com/uuverifiers/eldarica/blob/master/LICENSE")),
scmInfo := Some(ScmInfo(
url("https://github.com/uuverifiers/horn-concurrency"),
"scm:[email protected]/uuverifiers/horn-concurrency.git")),
developers := List(
Developer(
id = "pruemmer",
name = "Philipp Ruemmer",
email = "[email protected]",
url = url("https://philipp.ruemmer.org")
),
Developer(
id = "zafer.esen",
name = "Zafer Esen",
email = "[email protected]",
url = url("https://katalog.uu.se/empinfo/?id=N18-2424")
)
),
publishTo := Some(Resolver.file("file", new File( "/home/compilation/public_html/maven/" )))
)
assembly / test := {}
// Project
lazy val root = (project in file(".")).
settings(commonSettings: _*).
//
settings(
Compile / scalacOptions ++=
List("-feature",
"-language:implicitConversions,postfixOps,reflectiveCalls"),
scalacOptions += (scalaVersion map { sv => sv match {
case "2.11.12" => "-optimise"
case "2.12.18" => "-opt:_"
}}).value,
resolvers += "uuverifiers" at "https://eldarica.org/maven/",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0" % "test",
libraryDependencies += "uuverifiers" %% "eldarica" % "2.1" exclude(
"net.sf.squirrel-sql.thirdparty-non-maven","java-cup")
)