-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
48 lines (38 loc) · 1.03 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
import Dependencies._
import com.typesafe.sbt.SbtGit._
import releasenotes._
versionWithGit
showCurrentGitBranch
git.baseVersion := "0.5.0"
lazy val baseName = "hipster-coffee-shop"
lazy val application = project
.settings(
normalizedName := s"$baseName-${normalizedName.value}",
libraryDependencies ++= Seq(
scalazCore,
jodaTime,
jodaConvert,
jodaMoney,
scalaTest))
lazy val web = project
.dependsOn(application)
.settings(
normalizedName := s"$baseName-${normalizedName.value}",
libraryDependencies ++= Seq(
scalazCore,
unfilteredFilter,
argonaut,
argonautUnfiltered,
servletApi))
lazy val root = project
.in(file("."))
.settings(
normalizedName := baseName,
name := "Hipster Coffee Shop",
libraryDependencies ++= Seq(unfilteredJetty))
.dependsOn(web)
.aggregate(application, web)
.settings(Revolver.settings: _*)
.enablePlugins(ReleaseNotesPlugin)
organization in ThisBuild := "com.hipstercoffee"
scalaVersion in ThisBuild := "2.10.4"