forked from labrad/scalabrad
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
62 lines (42 loc) · 1.42 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
organization := "org.labrad"
name := "scalabrad"
version := "0.2.0-M9"
scalaVersion := "2.11.6"
scalacOptions ++= Seq(
"-deprecation",
"-feature"
)
EclipseKeys.withSource := true
EclipseKeys.eclipseOutput := Some("target/eclipseOutput")
resolvers += Resolver.sonatypeRepo("snapshots")
resolvers += Resolver.sonatypeRepo("releases")
licenses += ("GPL-2.0", url("http://www.gnu.org/licenses/gpl-2.0.html"))
// dependencies
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang.modules" %% "scala-swing" % "1.0.1",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.1",
"org.clapper" %% "argot" % "1.0.3",
"io.netty" % "netty-all" % "4.1.0.Beta5",
"joda-time" % "joda-time" % "2.1",
"org.joda" % "joda-convert" % "1.2",
"org.slf4j" % "slf4j-api" % "1.7.2",
"ch.qos.logback" % "logback-classic" % "1.0.6",
"com.typesafe.play" %% "anorm" % "2.4.0-M2",
"org.xerial" % "sqlite-jdbc" % "3.8.7"
)
// testing
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4" % "test"
)
parallelExecution in Test := false
// use bintray to publish library jars
bintraySettings
// use sbt-pack to create distributable package
packSettings
packMain := Map(
"labrad" -> "org.labrad.manager.Manager",
"labrad-migrate-registry" -> "org.labrad.registry.Migrate",
"labrad-sql-test" -> "org.labrad.registry.SQLTest"
)
packGenerateWindowsBatFile := true