-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
66 lines (59 loc) · 1.64 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
66
lazy val commonSettings = Seq(
organization := "com.peoplepattern",
scalaVersion := "2.11.7",
scalacOptions in ThisBuild ++= Seq(
"-unchecked",
"-feature",
"-deprecation",
"-language:_",
"-Xfatal-warnings",
"-Ywarn-dead-code",
"-target:jvm-1.7",
"-encoding",
"UTF-8"
),
resolvers := Seq(
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"
),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.5" % "test"
),
buildInfoKeys := Seq[BuildInfoKey](version),
buildInfoPackage := "levar.build",
bintrayOrganization := Some("peoplepattern"),
bintrayReleaseOnPublish := true,
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(url("http://peoplepattern.github.io/LeVar")),
crossScalaVersions := Seq("2.10.6", "2.11.7"),
releaseCrossBuild := true,
fork := true
) ++ scalariformSettings
lazy val core = project
.in(file("levar-core"))
.enablePlugins(BuildInfoPlugin)
.settings(commonSettings: _*)
lazy val web = project
.in(file("levar-web"))
.settings(commonSettings: _*)
.enablePlugins(PlayScala)
.dependsOn(core)
lazy val client = project
.in(file("levar-client"))
.settings(commonSettings: _*)
.dependsOn(core)
lazy val cli = project
.in(file("levar-cli"))
.settings(commonSettings: _*)
.dependsOn(client)
lazy val root = project
.in(file("."))
.settings(commonSettings: _*)
.settings(
site.settings,
ghpages.settings,
git.remoteRepo := "git@github.com:peoplepattern/LeVar.git",
site.jekyllSupport()
)
.aggregate(core, web, client, cli)
fork := true
publish := {}