-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
66 lines (49 loc) · 2.26 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
58
59
60
61
62
63
64
65
import scala.sys.process._
name := "jitd-synthesis"
version := "0.1"
organization := "edu.buffalo.cse.odin"
scalaVersion := "2.11.11"
dependencyOverrides += "org.scala-lang" % "scala-library" % scalaVersion.value
scalacOptions ++= Seq(
"-feature"
)
fork := true
resolvers += "MimirDB" at "http://maven.mimirdb.info/"
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
watchSources ++= Seq((baseDirectory in ThisBuild).value / "src/main/twirl")
watchSources ++= Seq((baseDirectory in ThisBuild).value / "src/main/cpp")
libraryDependencies ++= Seq(
////////////////////// Command-Line Interface Utilities //////////////////////
"org.rogach" %% "scallop" % "3.1.5",
////////////////////// Dev Tools -- Logging, Testing, etc... //////////////////////
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"org.specs2" %% "specs2-core" % "3.8.4" % "test",
"org.specs2" %% "specs2-matcher-extra" % "3.8.4" % "test",
"org.specs2" %% "specs2-junit" % "3.8.4" % "test",
//////////////////////// Data Munging Tools //////////////////////
"com.github.nscala-time" %% "nscala-time" % "1.2.0",
)
// Support for templates through scala play twirl
// https://github.com/playframework/twirl
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
////// Publishing Metadata //////
// use `sbt publish make-pom` to generate
// a publishable jar artifact and its POM metadata
publishMavenStyle := true
pomExtra := <url>https://odin.cse.buffalo.edu/research/astral/index.html</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:ubodin/jitd-synthesis.git</url>
<connection>scm:git:[email protected]:ubodin/jitd-synthesis.git</connection>
</scm>
/////// Publishing Options ////////
// use `sbt publish` to update the package in
// your own local ivy cache
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))