-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
41 lines (26 loc) · 1.56 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
name := "wiredthing-utils"
organization in ThisBuild := "com.wiredthing"
organizationName in ThisBuild := "WiredThing Ltd."
organizationHomepage in ThisBuild := Some(url("http://wiredthing.com"))
startYear in ThisBuild := Some(2014)
lazy val scalaUtils = Project("scala-utils", file("scala-utils"))
lazy val scalaUtilsPlay = Project("scala-utils-play", file("scala-utils-play")).dependsOn(scalaUtils).aggregate(scalaUtils)
lazy val status = Project("play-status", file("play-status"))
lazy val healthcheck = Project("play-healthcheck", file("play-healthcheck")).dependsOn(status)
scalaVersion in ThisBuild := "2.11.6"
scalacOptions in ThisBuild ++= Seq("-deprecation", "-feature", "-language:reflectiveCalls", "-language:postfixOps")
resolvers in ThisBuild += "WiredThing Internal Forks Repository" at "https://wiredthing.artifactoryonline.com/wiredthing/libs-forked-local"
publishTo := {
if (isSnapshot.value)
Some("WiredThing Public Snapshots Repository" at "https://wiredthing.artifactoryonline.com/wiredthing/libs-snapshots-public")
else
Some("WiredThing Public Libraries Repository" at "https://wiredthing.artifactoryonline.com/wiredthing/libs-releases-public")
}
credentials in ThisBuild += Credentials(Path.userHome / ".ivy2" / ".credentials")
libraryDependencies in ThisBuild ++= Seq(
"joda-time" % "joda-time" % "2.3",
"org.joda" % "joda-convert" % "1.2",
"org.scalaz" %% "scalaz-core" % "7.1.0",
"org.scalatest" %% "scalatest" % "2.1.7" % "test"
)
shellPrompt in ThisBuild := { state: State => "utils " + Project.extract(state).currentRef.project + "> " }