-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
56 lines (38 loc) · 1.29 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
import AssemblyKeys._
assemblySettings
test in assembly := {}
val libjoda = "joda-time" % "joda-time" % "2.2"
val libspecs2 = "org.specs2" %% "specs2" % "2.4.2" % "test"
lazy val commonSettings = Seq(
organization := "com.amadeus.ti",
version := "0.1.0",
scalaVersion := "2.10.5",
sbtVersion := "0.13.13"
)
lazy val libSettings = Seq(
libraryDependencies += libjoda,
libraryDependencies += libspecs2
)
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(libSettings: _*).
settings(
name := "induction-scala"
)
checksums in update := Nil
javacOptions in Compile ++= Seq("-source", "1.6", "-target", "1.6")
scalacOptions += "-target:jvm-1.6"
scalacOptions += "-deprecation"
scalacOptions += "-feature"
parallelExecution in Test := false
resolvers ++= Seq(
Resolver.sonatypeRepo("public"),
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots"),
"Local repository" at "http://localhost/artifacts/mavenrepo/",
"Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",
Resolver.mavenLocal)
publishTo := Some("Local Maven Repo" at "http://localhost/artifacts/mavenrepo/")
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "console", "junitxml")
packageArchetype.java_application
net.virtualvoid.sbt.graph.Plugin.graphSettings